Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Compare Textarea Value to Hidden Field Value

by tangent (Parson)
on Apr 01, 2016 at 22:25 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-26 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found