Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.


    • CommentAuthorjustnajm
    • CommentTimeDec 9th 2006
     
    Hi,

    I have applied timer function to a field through javascript which change its value every second. I have also applied disabled property on it so no one can interfare with the field text. But I have removed this disabled property, because I was unable to get the text from it for next page, even it was not responding to any event such as onblur, onclick, onfocus, onchange, etc.


    <input name="timer" type="text" class="timer_field" id="timer" disabled size="7" value=" 00 : 00 : 00 ">


    Now first problem is still there that interfarence can occur, if somebody has done this before. Please tell me so I can do that, as it looks very nice when disabled, I have also applied css effects on it.

    Thanks.
    • CommentAuthorjustnajm
    • CommentTimeDec 16th 2006
     
    At last I have leave the method of trying to get text from the diable text as I was unable to get. I have used another technique:

    used a hidden field on the page and the function which was changing the disable text field value, put the hidden field with in it, so as the javascript function will change the value of disable text it will also change the hidden field value. And I capture the hidden field value rather then disabled text field.

    Now the disabled text field is looking cool and the task has been acheived thanks goes to hidden field. /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />