Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Compare Textarea Value to Hidden Field Value

by tangent (Vicar)
on Apr 01, 2016 at 22:25 UTC ( #1159345=note: print w/replies, xml ) Need Help??


in reply to Compare Textarea Value to Hidden Field Value

As Your Mother points out, this is much easier to implement on the client side. If you use jQuery your hidden field can be reduced to a boolean value and all you need do is something like:
$("#id_of_textarea").change( function() { $("#id_of_textarea_changed").val(1); });
I'm sure this would be easy enough in plain Javascript also.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1159345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-05-25 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?