At the bottom of each I have a successful call, ($conf="Data Updated Successfully 1") but what I would like to do is call a javascript function instead of the script being called using a button as below.

This code will generate your required button after successful completion of code.

multichild
—
2012-02-01T18:49:56Z —
#3

Hi Susen,

I cant test it at the moment, but will that code produce a button instead of what I want to do which is to call the function that that button would call when clicked.

So basically, at the end of the script where I would call $conf="Data Updated Successfully 1", I wont it to call the javascript function instead of calling the javascript function by clicking the button.

But if you want to load the function with the page load then you have to define the function also.The function cover() actually switch the visibility of the division ID 'cover' (and all of its child elements) from visible to non-visible state and vice versa.

multichild
—
2012-02-02T11:52:14Z —
#6

Hi Susen,

Your code looks fine to me, but cant seem to get the jscript function to run.