Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: [Solved]: How to catch event when button (which is NOT submit button) is clicked.

by choroba (Cardinal)
on Nov 12, 2015 at 08:36 UTC ( [id://1147551]=note: print w/replies, xml ) Need Help??


in reply to [Solved]: How to catch event when button (which is NOT submit button) is clicked.
in thread [Solved]:How to catch event when button (which is NOT submit button) is clicked.

That's not exactly what I suggested. The submit buttons have different names, but it's useless - you can never press both of them at the same time. Give them the same name and a different value, then you'll have to only check one parameter.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re: [Solved]: How to catch event when button (which is NOT submit button) is clicked.

Replies are listed 'Best First'.
Re^2: [Solved]: How to catch event when button (which is NOT submit button) is clicked.
by Perl300 (Friar) on Nov 12, 2015 at 14:53 UTC
    Thanks again, choroba. Yes having same name and different values would need checking only one parameter value (which I was already doing for submitButton). At present I am checking two different parameters one for submitButton and second for resetButton (and I don't need to click both at same time). Though it also gives me what I wanted to do but your suggestion will make it more efficient.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found