• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Run multiple JavaScript

I am working with a website. I have unique id by which I am searching data of a family. For the family members i have different approx 25 JavaScripts. Now I want to run the javascript based on the numbers of family members. Suppose there are 5 family members then java script will run upto 5 and 6 to 25 skip. Members and if there are 7 members then it will run upto 7 members and 8 to 25 skip. and so on.

Code:
JavaScprit Code is below:
IE.navigate "javascript:__doPostBack('ResultGrid$ctl02$ctl01','')"
IE.navigate "javascript:__doPostBack('ResultGrid$ctl03$ctl01','')"
IE.navigate "javascript:__doPostBack('ResultGrid$ctl04$ctl01','')"
IE.navigate "javascript:__doPostBack('ResultGrid$ctl05$ctl01','')"
IE.navigate "javascript:__doPostBack('ResultGrid$ctl06$ctl01','')"
IE.navigate "javascript:__doPostBack('ResultGrid$ctl07$ctl01','')"
IE.navigate "javascript:__doPostBack('ResultGrid$ctl08$ctl01','')"
IE.navigate "javascript:__doPostBack('ResultGrid$ctl09$ctl01','')"
IE.navigate "javascript:__doPostBack('ResultGrid$ctl10$ctl01','')"

and click on JavaScript website show some more buttons, HTML Code is below:

when i click on JavaScirpt, website shown below button....

Code:
<input type="submit" name="btnSAVEMem" value="સેવ સભ્ય" onclick="return ChkFamilyMemInput();" id="btnSAVEMem" class="Button" style="width:112px;" />

when i click above button, website shown PopUp Window and Ok button...

Code:
Script>document.getElementById('CmbFPTreatment').style.visibility='hidden';</script>
 
Back
Top