Welcome To Snipplr


Everyone's Recent JavaScript Snippets



1 ... 36 37 38 39 40 ... 65
Just a simple snippet on how to reverse a string using a for loop.
0 1126 posted 15 years ago by alvincrespo
Adds a functioning counter and maxlength to fckeditor textareas
0 2248 posted 15 years ago by vagrantradio
Passes variables for url and highlighted text.
0 1228 posted 15 years ago by vagrantradio
Suppose you have a login form and you want to send the form when user press enter on his keyboard and not only by clicking on the submit button. This can be achieved capturing a specific event when the user is typing. We have to capture the keypress...
1 1873 posted 15 years ago by ginoplusio
Amazing form validator using the jQuery framework!
1 1174 posted 15 years ago by jaff
Passing values between ASP.NET and JavaScript code is messy...
0 1155 posted 15 years ago by streamt
Many times we face situation like when we need to access the code behind variables from javascript as well as accessing javascript variable from code behind. I can remember a practical scenario in my previous project. The requirement was to dra...
0 1398 posted 15 years ago by streamt
0 857 posted 15 years ago by desmond54
A simple, non-recursive function that I use to return the first element with an ID that contains a certain ID string. Sometimes, APS.NET appends the Naming Container ID to the IDs of controls, and in instances where the ClientID of a control you wa...
0 821 posted 15 years ago by erintechspired
default.aspx?id=5 queryString('id') will return 5 Also this will convert to lower case. IIS / ASP.net is not case sensitive so my function isn't either.
0 830 posted 15 years ago by derekholmes
Dropdown navigation is fairly inaccessible as it depends on hover events in 99.9% of cases. Tabbing through the navigation with the keyboard fails to reveal the dropdowns leaving those navigation items virtually inaccessible. Worse, each of the hidde...
0 2521 posted 15 years ago by chrisdpratt
listsEqual(["1","2"], ["1","2"]) is true;
0 1131 posted 15 years ago by prudnikov
0 955 posted 15 years ago by anebg
Load swfobject from google & embed dynamically
2 1443 posted 15 years ago by jcprovideo
compress with handbreak, replace div
0 1093 posted 15 years ago by peterbelsky
0 1024 posted 15 years ago by wbednarski
1 ... 36 37 38 39 40 ... 65