rammohan.acharyadasa
Posts: 0
Joined: Thu Apr 05, 2012 5:03 pm

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

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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

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

rammohan.acharyadasa
Posts: 0
Joined: Thu Apr 05, 2012 5:03 pm

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

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/

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

Try on page load.

Return to “Issues”