Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This plugin is the work of Stefan Gabos, all credit, rights, and praise to be directed to him here: http://stefangabos.ro/jquery/jquery-plugin-boilerplate/
1
832
posted 13 years ago by Japh
source: http://stellapower.net/content/javascript-support-and-arrayindexof-ie/<br>
source: http://www.robsearles.com/2010/03/11/ie-7-indexof-replacement/
0
643
posted 13 years ago by shabith
Use the rel attribute to specify which "html" file to load. In this case the link is set to the "About" page and will load the about.html file with AJAX and update the site's title and address.
0
752
posted 13 years ago by jafar
Is very inefficient to attach a anonymous function event handlers to multiple items in a selection. The function is duplicated for each element.
This shows how you can just create a single function and in the event handler callback just call that...
0
652
posted 13 years ago by anagaiyahoocom
JavaScript
Simple Math Captcha-like verification JavaScript script that uses jQuery (form) validation plugin
Don't forget to include jQuery validation plugin before this snippet. You can find it here:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
0
1285
posted 13 years ago by racl101
works in all the major browsers that support adding to bookmarks, FF, IE, Opera. Safari and Chrome dont support this, so for them, a nice message :)
1
1081
posted 13 years ago by prwhitehead
This is how you can add a file/image upload tool to your forms and have AJAX store the file with PHP and return a thumbnailed version to the user for display on the form. Nice.
2
820
posted 13 years ago by jquery4u
Use jQuery get rss (with JavaScript) to get a blogs (or websites) display rss feed on your web page.
1
740
posted 13 years ago by jquery4u
This is how you can create page box elements that are loaded via AJAX and can be refreshed instantly without a whole page reload.
0
663
posted 13 years ago by jquery4u
These days when you are using forms you need some sort of protection from bots and spammers.
2
691
posted 13 years ago by jquery4u
So today I created a html image map which creates dynamic links based on the color of the pixel that the user clicked.
0
773
posted 13 years ago by jquery4u
this is the way for toggling something on mouse hover in and out
0
1019
posted 13 years ago by root_hacker
Valiodate a form with jQuery.Validate and submit it with jQuery.form
1
707
posted 13 years ago by marzsman