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 574 posted 14 years ago by alvincrespo
Adds a functioning counter and maxlength to fckeditor textareas
0 1622 posted 14 years ago by vagrantradio
Passes variables for url and highlighted text.
0 660 posted 14 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 957 posted 14 years ago by ginoplusio
Amazing form validator using the jQuery framework!
1 626 posted 14 years ago by jaff
Passing values between ASP.NET and JavaScript code is messy...
0 596 posted 14 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 763 posted 14 years ago by streamt
0 426 posted 14 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 409 posted 14 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 417 posted 14 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 1616 posted 14 years ago by chrisdpratt
listsEqual(["1","2"], ["1","2"]) is true;
0 602 posted 14 years ago by prudnikov
0 484 posted 14 years ago by anebg
Load swfobject from google & embed dynamically
2 671 posted 14 years ago by jcprovideo
compress with handbreak, replace div
0 560 posted 14 years ago by peterbelsky
1 ... 36 37 38 39 40 ... 65