Just create a test page and upload to your web site with java scripts,
that is easy to see the problem.
On Jan 22, 6:09 pm, abhisek <abhisek.d...@gmail.com> wrote:
> Thanks for your response.
> I think that was a livequery issue. Used the following function to get
> input elements:
> document.getInputByName = function(name)
> {
> allInputs = document.getElementsByTagName("input");
> for(i=0;i<allInputs.length;i++)
> {
> if(allInputs[i].getAttribute("name") == name && allInputs
> [i].getAttribute("type") == "text")
> {
> mainInput = allInputs[i];
> break;
> }
> }
> return mainInput;}
>
> Then access the value like:
> input = document.getInputByName("some_name");
> value = input.value;
>
> Regards
> Abhisek
No comments:
Post a Comment