Page 1 of 1

where to handle $(document).ready(function()

Posted: Sun Nov 25, 2012 5:32 pm
by rammohan.acharyadasa

where to write $(document).ready(function()
{
alert("hello");
}
in Tiggzi.
How to write Do i need to write this on page load -- event of the tiggzi-- custom javascript
i tried also panel --( placed above script does not work


where to handle $(document).ready(function()

Posted: Sun Nov 25, 2012 11:27 pm
by maxkatz

You can add it via Create New JavaScript. The correct syntax is:

code
$(document).ready(function()
{
alert("hello");
});
/code


where to handle $(document).ready(function()

Posted: Sun Nov 25, 2012 11:42 pm
by rammohan.acharyadasa

i want to toe b executed for that specific page let say page1.
if create new custom javascript, it will be executed for all pages right?
i want to for specific page
i am trying to do below
http://jsfiddle.net/jPlayer/Q4LMV/


where to handle $(document).ready(function()

Posted: Mon Nov 26, 2012 12:43 am
by maxkatz

Try on page load.