Blog
- Block drag & drop image OR direct image paste into CKEditor using Firefox
Hello friends,
I am mostly uses Firefox browser for any developing stuff and I am facing an issue with CKEditor.
CKEditor allows you to direct copy & paste or drag & drop image into CKEditor body area using Firefox browser and it will embed image as base 64 encoded image into the CKEditor body. When you see the actual source code of paste image, it will look like...
- Read More
- By Mahavir Dhruv
- Comments(1)
- jQuery datepicker disabled weekday
-
There is another custom setting for jQuery datapicker. Here we have discuss about how to disabled any weekday in jQuery datepicker. As you know in today's era jQuery become more and more popular and why not? It should be because jQuery does our work very easy. Recently, in our one of the project need to give date field value in one of the form. In this form date calculate dynamic with exclude weekend days (Saturday and Sunday) as per client timeline setting but client also wants their employee also change date value manually. Now what, we need to give datepicker to the text field and as we love jQuery so of course we use jQuery datepicker and see there is no default function to handle disabled weekday. We know there is a function to handle custom setting before show datapicker and before show day. i.e. there are two different function beforeShow, beforeShowDay. beforeShow function uses when you want to set before showing datepicker and beforeShowDay function uses when you want to apply setting before load each day. So we use beforeShowDay function to disabled day. It's very simple and short code for disabling weekday. Let's understand by example.
- Read More
- By Bharat Patel
- Comments(0)
- Show tooltip when input element get focus
Hello Friends,
Recently I am working on one of the project, and inside it we want functionality to show a hint tooltip box (show information related to that field) when that input element get focus.
I use clueTip (a jQuery tooltip plugin) to show hint tooltip box.
- Read More
- By Mahavir Dhruv
- Comments(0)
- December 30, 2011
- Passing additional data to CALLBACK function of jQuery.ajax
Now a days we can not imagine web application with AJAX and jQuery make stuff lot easier to us. We normally need to use ajax call to update web content asyncronously. $.ajax is really simple to use, well I haven't write this post to advertise $.ajax but to explain how we can pass our custom arguments to its callback function.
$.ajax callback function have three default parameter 1. Content 2.Status 3. HTTPResponse object and in most of the case this are enough information in case you want to alert user or display message on particular dom object.
- Read More
- Comments(0)
- August 8, 2011
- Understanding event handler and parallel processing
Hi,
These days I am trying to play with browser’s local database. I get very much interesting experience while assigning a value to variable.
I used the following code in JavaScript (Only works in Firefox) ...- Read More
- By Vikas
- Comments(0)
- June 18, 2011
- jquery mobile error avoiding tip
Hi,
For last month I am using jquery mobile. I’ve gone through lots of issues and learned a lot.
Web is good but when it comes with browser, HTML and java-scripts it becomes more buggy!
Generally I use chrome for development, and jquery mobile works perfect as it based on web-kit.
I tested and published my code, for desktop testing I use Firefox and chrome (not testing on IE as its jquery mobile). But when I open it in Android device, I see only half of the page rendering. And this is because of I made mistake in mark up language.
I forgot to close div tag and closed with li tag. In Firefox and chrome its ignored, but in safari it rendered differently.
See this code and output in chrome and safari, you will get the idea what i’m taking about.
Conclusion: While testing you web app IE is your acid test, while targeting web-kit or jquery mobile, safari is your acid test.- Read More
- By Vikas
- Comments(0)
- June 10, 2011
- Enable/disable link button in jquery Mobile
Hi,
I am developing mobile application, where I use jquery Mobile.
Buttons can be created by input tag, button tag and even link tag. See examples:- Read More
- By Vikas
- Comments(0)
- June 9, 2011
- Scroll to UI element in jquery mobile framework
Hi,
I am using jquery mobile framework for last couple of weeks.
Recently it was required to scroll a page to my listview item.
Jquery mobile has a method called $.mobile.silentScroll().
- Read More
- By Vikas
- Comments(2)
- May 28, 2011
- Enable/Disable auto back button for jQuery Mobile framework
Hi,
Currently JQuery Mobile is still in alpha version. As they are moving towards first beta version, they do some changes from previous alpha versions.
One of the key change is, they disable auto back button by default, As they thought that many of the mobile device will have back button. But some may not have.
To enable it, use the following option:
- Read More
- By Vikas
- Comments(0)
- May 20, 2011
- Javascript and Numbers
Hello
Once I wonder that why the I got the 10 value in my javascript variable x in the following example.
var x = 1 + 011;
After, googling some times I got that it was a radix param issue [More].
While parsing into the number javascript assumes the following ...
- Read More
- Comments(0)