Click here to Skip to main content
16,016,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all. I am having trouble finding the "onClick" or comparable action for this select box within the site. I can't post the entire site here, but any ideas where I might look to find it? There is no wrapping <form>, and once a value is selected, the search is dynamically updated. I can't find the "perPage" variable anywhere but here.

JavaScript
<select id="perPage" name="perPage">
   <option value="40">40</option>
   <option value="80">80</option>
   <option value="120">120</option>
   <option value="160">160</option>
   <option value="ALL">All</option>
</select>


Any help is much appreciated! thanks!
Posted
Updated 4-Aug-11 9:19am
v3

 
Share this answer
 
Comments
#realJSOP 7-Aug-11 7:15am    
His problem is that he can't find it. It's already apparently implemented, but he doesn't know where.
Is this an asp.net web site? Is it using ajax?

EDIT ================

You didn't answer my question, but okay.

See if you have any .js files in your site folder, and look for anything that looks like initialization of a dropdown list.

Failing that, start at "the search" that gets dynamically updated, and work backwards from there.

I don't know why my answer got 1-voted when your question doesn't even come close to helping us to help you.
 
Share this answer
 
v2
Comments
Suraci7 4-Aug-11 15:13pm    
I am noting some XMLHTTP requests using firebug, so I assume that's Ajax, though i'm not too familiar with Ajax.
fjdiewornncalwe 4-Aug-11 15:20pm    
You will likely have a javascript library file loaded into the page which contains the handlers.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900