Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Extract hidden values from HTML

by Unforgiven (Hermit)
on Dec 14, 2009 at 14:37 UTC ( [id://812713]=note: print w/replies, xml ) Need Help??


in reply to Re: Extract hidden values from HTML
in thread Extract hidden values from HTML

You might have meant this anyway, being that you're giving a very general example, but just in case Kalyanrajsista doesn't - it'd be better to use something semantic for the ids or classes rather than literally "row_1_col_1".

I haven't used the modules mentioned, but I'd imagine it's likely you could just count which row you're on anyway, so you could know which row you're on without that information being in the HTML anyway. What you can't know is what it means. Use class names and ids (remember ids have to be unique to the page) like "last_name" or "total_price" or whatever else is appropriate.

Replies are listed 'Best First'.
Re^3: Extract hidden values from HTML
by Anonymous Monk on Dec 15, 2009 at 06:07 UTC

    I've a row defined as below and I want to extract hidden value from it.

    <td class="c"><input type="hidden" name="recid5" value="10293424">2009 +/08</td>

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found