Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to write a Greasemonkey script to handle __doPostBack()
    primarykey
    data
    text
    <p>I'm coming from a scientific computation background and do have some history with some popular and non-popular (ad hoc) programming languages but I'm completely alien to client side programming and JavaScript. </p> <p>I've written some trivial JavaScript for my Greasemonkey settings before but that's all.</p> <p>My question concerns:   <a href="http://www.ise.org/sirketler/sirketler.aspx" rel="nofollow">http://www.ise.org/sirketler/sirketler.aspx</a></p> <p>I'm trying to get all the data about securities and companies from the table given in the URL above which is the site of Turkish İstanbul Stock Exchange. </p> <p>This data is given within a grid table classified according to the letters which the name of the company begins and at a maximum of 10 rows per grid is given as one can see. Also in the bottom right of the page, there writes how many pages is this info is spread.</p> <p>For example, you can call from the Firebug console: </p> <pre><code>__doPostBack('ctl00$cphContent$ctl00$lbtnT','') </code></pre> <p>for getting the companies starting with 'T' and you can browse the tabs of these table by issuing:</p> <pre><code>__doPostBack('ctl00$cphContent$ctl00$radGridSirketler$ctl00$ctl03$ctl01$ctl05','') __doPostBack('ctl00$cphContent$ctl00$radGridSirketler$ctl00$ctl03$ctl01$ctl07','') __doPostBack('ctl00$cphContent$ctl00$radGridSirketler$ctl00$ctl03$ctl01$ctl09','') </code></pre> <p>etc. for 1st, 2nd and 3rd pages of this table respectively.</p> <p>I've tried to serialize this by issuing <code>__doPostBack()</code> method for a given array of letters and numbers by concatenating them to the fixed string above but it did not succeed.</p> <p>So how can I use <code>__doPostBack()</code> method and append all of these resulting sub tables and get the overall data? </p> <p>Is there a resource to read for such kind of tasks?</p> <p>I apologize for my amateur question from all JS hackers.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload