There two "<select multiple" code blocks in the page, and the code above is for them. The code in the page source for those blocks is below: (In this one, I want to select SNP)
<SELECT MULTIPLE="multiple" NAME="polymorphismType" SIZE="5">
<OPTION value="" selected="selected">ANY</OPTION>
<OPTION VALUE='1878510'>SNP</OPTION>
<OPTION VALUE='1878511'>IN-DEL</OPTION>
<OPTION VALUE='1878512'>Named</OPTION>
<OPTION VALUE='1878513'>Mixed</OPTION>
<OPTION VALUE='1878514'>MNP</OPTION>
</SELECT>
And in the next one, I want to select "coding-non synonymous"
<SELECT MULTIPLE="multiple" SIZE="5" NAME="functionClass">
<OPTION value="" selected="selected">ANY</OPTION>
<OPTION VALUE='1878486'>Coding-NonSynonymous</OPTION>
<OPTION VALUE='1878487'>Coding-Synonymous</OPTION>
<OPTION VALUE='1878489'>Intron</OPTION>
<OPTION VALUE='1878490'>Locus-Region</OPTION>
<OPTION VALUE='1878493'>mRNA-UTR</OPTION>
<OPTION VALUE='1878494'>Splice-Site</OPTION>
</SELECT>
So the code for the making the selections is written below, but I don't know if it is right or not
$variation='polymorphismType';
$varvalue=("1878510");
$func_class='functionClass';
$funcvalue='1878486';
$moz->select($variation,$varvalue);
$moz->select($func_class,$funcvalue);
THANK YOU FOR YOUR PATIENCE.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Outside of code tags, you may need to use entities for some characters:
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
|
|