Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: parsing javascript with perl

by donarb (Beadle)
on Jan 07, 2006 at 20:13 UTC ( #521752=note: print w/replies, xml ) Need Help??

in reply to parsing javascript with perl

I'm not sure what your example code has to do with javascript, but if I understand your question, you would like to fill in an HTML form from the web server to allow a user to edit a database record?

If that's the case, then what you want is the HTML::FillInForm module, it takes HTML text and a hash of values and matches the hash keys with form field names. It knows all about input fields, popups, checkboxes and will encode text correctly for display (in case your text contains things like '&', '<' and '>').

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2022-01-16 11:22 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (49 votes). Check out past polls.