var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Events in ASP
Is the submit button the only time I can launch an event in asp.
I really would like to be able to re-query values on either the click event of a combo box or else another way.
Example: customer # and customer name can either be selected. I want the one that is selected to populate the other.
Thanks In advance for any help
Re: Events in ASP
Your question indicates you're misunderstanding what ASP is.
ASP is a scripting language that runs on the SERVER.... and all ASP code is processed BEFORE anything else. The resultant html is sent to the browser.
You can call an ASP page in any number of ways... from a form button, from an OnCLick event, or anything else that allows you to load a new url into the browser.
Other than server triggered events confined to the global.asa file, there are no other ASP "events" in the sense that I think you're asking about.
To call an ASP page by clicking on something, just use onclick="location.href='yourpage.asp'" in the html element's tag
Hope this helps.
Although your opening line was a little harsh. Your answer covers exactly what I finally discovered.
I wanted to perform the "submit" on something other than "submit"
Sorry.... I did not mean to offend you.
To try and help,.. say you want to requery on the change of a select box value...
In your HTML you change your select box to something like this
This will submit your form when the value changes.....
<select name="selName" id="selName" onchange="document.form.submit();">
Does that help??
Thanks so much to all for your help