JasonMichael
21 Feb 2007, 11:51 AM
I must be going nuts! I can't even get a simple getEl to work, after getting a datagrid to work, along with my Ajax proxy for PHP, etc etc... I feel like I've taken some tools and built a space shuttle, but now I can't even get the ignition key onto a key ring... or turn on the power swich for the interior lights...
all I'm trying to do is:
e=getEl('mydiv');
e.innerHTML='its working!';
and then in my HTML code a few lines down,
<div id='mydiv'>nothing.....still got problems, Houston...over</div>
Are there any tips or dos and don'ts for this? It looks so easy when everyone else on the web uses it.... I put alerts before and after my code, so I know the script is runnin and reaching my getEl....weird!!!
-Jason
all I'm trying to do is:
e=getEl('mydiv');
e.innerHTML='its working!';
and then in my HTML code a few lines down,
<div id='mydiv'>nothing.....still got problems, Houston...over</div>
Are there any tips or dos and don'ts for this? It looks so easy when everyone else on the web uses it.... I put alerts before and after my code, so I know the script is runnin and reaching my getEl....weird!!!
-Jason