Here is a quick snippet to apply jQuery validate to a form loaded via AJAX.
var form = $(“#youFormIdentifier”);
Then you can now check if it is valid via:
var isValid = form.valid();
Description: Most users find developing their own calendar UI not that quite easy but with jQuery FullCalendar you make it easy and fast!
Some of Specifications:
Have you ever wondered if there is an alternative for Cookies?
You should, because there are limitation and downsides in using Cookies on your website that massively use this feature.
- Cookies has limited size on most browsers
- Cookies is transfer to server every page load
- If you overload the size of the Cookies it will also eat up the space of session and might remove it
Introducing jStorage, a jQuery way of saving your data to the local client and I quote
jStorage is a cross-browser key-value store database to store data locally in the browser – jStorage supports all major browsers, both in desktop (yes – even Internet Explorer 6) and in mobile.
Yes it even support IE 6!
So how to use it in an easy way?
- Include the following references to your project
- Use $.jStorage.set(key, value) to save a value
- Use $.jStorage.get(key, “default value”) to get a value
And thats it you are now using jStorage.
Reference : http://www.jstorage.info/
My boss told us to search for a jQuery Extension for ASP .Net MVC to make the development easier. After minutes of searching the web I have found two extensions that you and I can use:
- DJME 2 which is an free and Open source
- Telerik Extensions for ASP .NET in this case is a paid extension
Both extensions utilizes the creation of custom helper to make jQuery development quite easier but abstracted. Abstracted because you are learning how the extensions should be use to produce jQuery but your not really coding jQuery.
The said code will give you the full url path to which your user came from.
Example is http://google.com/?some-strings=goes-here
So you can check if its from a user from a google with a particular search string.
Just a Note. It can also received the same domain to which your site is in. For an instance your domain is http://domain.com then you referesh the page, the said code will return http://domain.com because you just refresh the page.