Hi
I’ve made a ajax request selection tool in the right column.
http://www.lensfinder.se/testar5.php
How do I make a selection the default one? Because when you enter the page I want one to be open, now it hasen’t made any request u
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Some simple javascript….
If you put this code somewhere after the select box, it should change the select box’s value and trigger the getlenslist() function once the page is loaded. If you have any problems, you might need to attach this to the page’s onload event.
alternatively, you can flag the select item you want selected like this:
This way, when the page loads, you will already have selected the correct item and you should only need to do