Parsing JavaScript from HTML file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • baldwasagar
    New Member
    • Mar 2008
    • 4

    Parsing JavaScript from HTML file

    <SCRIPT> document.write ( "<A onclick=\"OpenM SDigestWin()\" target=\"MSDige stWin\" HREF = \"" + msdigestLink + "dna_reading_fr ame=1&access_me thod=Accession+ Number&hide_pro tein_sequence=2 &open_reading_f rame=1&coverage _map=0+138+13+3 2+14+38+6+25+14 +5+12+77+12+34+ 13+4+14+97+9+23 +27&search_cycl e=1&accession_n um=P02769\">22%</A>" );</SCRIPT>


    I want to parse this code and want the text between anchor tag which I have made bold. I am trying using HTMLEditorKit.P arserCallback but it does not works for above piece of code.

    Please help me with the solution / suggestions.

    regards,
    sagar
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    What did you do with the tips given to you in your other identical thread? Please
    stick to one thread for one problem; I'm closing this thread now.

    kind regards,

    Jos (moderator)

    Comment

    Working...