Hi Prashant. Can you provide your full snippet? I think something like
this should work:

<script type="text/javascript">
  function myFunction() {
    ...
    var form = document.myForm;
    form.innerHTML = '<input type="text" value="prash"
name="urname">';
    ...

    var urname = form.urname.value;
  }
  ...
</script>
<form name="myForm"></form>
...

Cheers!
- Jason

On Oct 25, 11:02 am, Prash <[EMAIL PROTECTED]> wrote:
> Hi all can any one tell me how to pass form value
>
> e.g
>
> htmlout += "<input type=\"text\" value=\"prash\" name=\"urmane\">
> var urname = document.document.getElementsByName("urname").value;
>
> i am not able to setup user input as a variable how to do this?
>
> i need this as currenlty i am using prompt which is not good option to
> get data from user side.
> prompt method work great but needs repeated apploading!
>
> Regards
> Prashant aka 
> orkuteer!http://groups.google.com/group/orkut-help/web/who-are-the-orkuteers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" 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/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to