Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 12 13 14 15 16 ... 46
Get parameters from a flash import
1 661 posted 13 years ago by marzsman
Sometimes you have a load of HTML that is difficult to write up as a String from within a javascript function so this is an example of a simple Panel with an event for after rendering that injects it with content from a file.
0 1037 posted 13 years ago by LeeProbert
1 671 posted 13 years ago by dbugger
0 729 posted 13 years ago by silentpro
A simple Ajax database app built with the Karrigell web framework for Python; PyDbLite, a non-SQL Python database engine; and JQuery in the browser
0 635 posted 13 years ago by jcastell
0 667 posted 13 years ago by athanassiadis
tinyscrollbar
0 407 posted 13 years ago by daanoz
This is mostly taken from the HTML5 Boilerplate project so kudos go there. Dont forget to update the local URL paths.
0 1033 posted 13 years ago by lawlesscreation
returns the number of seconds since 1 jan 1970 This is useful for generating a number in a url to stop a page from caching
1 894 posted 13 years ago by samwa
using prototype to add instance methods to a Class
0 835 posted 13 years ago by reelfernandes
Use this to validate if input has html elements
0 851 posted 13 years ago by anagaiyahoocom
With setTimeOut a reference to a function object cannot provide parameters for the scheduled execution of that function. We can instead use a closure to provide parameters for the execution of a function prior to the execution of that function.
0 684 posted 13 years ago by coprolit
This is my own (compact) JS library which contains a variety of methods - cookies, (fast) sorting of tables,paragraphs, etc., highlighting rows, moving elements up or down, converting strings to dates, updating a clock etc.. Include the library and a...
0 514 posted 13 years ago by AndyG
"Javascript module pattern emulates the concept of classes in such a way that we're able to include both public/private methods and variables inside a single object, thus shielding/namespacing particular parts from the global scope." When inheritanc...
0 932 posted 13 years ago by coprolit
1 ... 12 13 14 15 16 ... 46