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 739 posted 14 years ago by alvincrespo
Adds a functioning counter and maxlength to fckeditor textareas
0 1802 posted 14 years ago by vagrantradio
Passes variables for url and highlighted text.
0 818 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 1138 posted 14 years ago by ginoplusio
Amazing form validator using the jQuery framework!
1 774 posted 14 years ago by jaff
Passing values between ASP.NET and JavaScript code is messy...
0 732 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 941 posted 14 years ago by streamt
0 558 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 516 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 563 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 1866 posted 14 years ago by chrisdpratt
listsEqual(["1","2"], ["1","2"]) is true;
0 742 posted 14 years ago by prudnikov
0 622 posted 14 years ago by anebg
Load swfobject from google & embed dynamically
2 817 posted 14 years ago by jcprovideo
compress with handbreak, replace div
0 727 posted 14 years ago by peterbelsky
1 ... 36 37 38 39 40 ... 65