Welcome Guest, Not a member yet? Register   Sign In
trouble with load event in javascript class
#1

[eluser]Giorgio Nordo[/eluser]
Hi everyone,
I am playing with the JavaScript class.
Although the documentation for such a class is far to be exaustive, I made some successful experiment but I found a problem with the following easy code:

Code:
$codice = $this->javascript->hide('#divlogin');
$this->javascript->load('#divlogin', $codice);  
$this->javascript->compile();

which should simply attach the hide function to the load event of the same div.
It seems correct to me but, it doesn't work at all.
Could someone help me in understanding why?
Thanks in advance,
Giorgio


Messages In This Thread
trouble with load event in javascript class - by El Forum - 03-03-2011, 06:01 PM
trouble with load event in javascript class - by El Forum - 03-03-2011, 06:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB