ok so say i have part of a form generated using:

<?php echo $html->input('User/username', array('size' => 20)); ?>

which generates:

<input name="data[User][username]"  size="20" value="" type="text"
id="UserUsername" />

i am trying to access that element in javascript using:
form.data[User][username].value

and it is not working.  i know the form variable holds the form as i
can get to other elements in it that were not cake generated.

am i missing a helper or going about this the wrong way?

thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to