HTML - Need Help With Auto Click Buttion Option
Hello, I want a way to automatically click a button on a website when you click that button it automatically updates part of their webpage. note the whole webpage just part of it. I was thinking about putting their webpage into an iframe on my website but I don't know what I need to do to automatically click their button
This the the code they use for the buttion: <input id="btnMap" value="Map" type="button" style="width: 15%;font-size: 10px" onclick="LoadMap()"/> I have already tried: <IFRAME SRC="http://www.thewebsite/thepage.jsp" onload="LoadMap()" width="100%" height="100%" style="overflow:hidden;"> and <META HTTP-EQUIV="Refresh" CONTENT="3; URL="http://www.thewebsite/thepage.jsp" target="iframe1"> any ideas? I dont know toooo much about html just what I have learned on the net Similar Tutorialscan someone help me to write a code to autoclick the following codes? note that the codes are partial codes.. help me to write the solution into a script file Code 1 <table class="bgmain" width="99.75%" border="0" cellpadding="0" cellspacing="0"><tr><td valign="top"> <form method="POST" action="tvalidate.php"> <input type="hidden" name="id" size="20" value="29409"><input type="hidden" name="xfile" size="20" value="29409.pdf"> <input type="submit" value="Download" name="Enter"> </form> Code 2 <div class="smallcurve"> <div class="t"><div class="r"><div class="b"><div class="l"><div class="tl"><div class="tr"><div class="bl"><div class="br"> <div class="smallcontent"> <table width="100%" border="0" cellpadding="5" cellspacing="0" align="center"><tr><td> </ul> </td></tr></table> <center> <form method=POST action=http:blablabla.com/29409.pdf><b>Full-Text Document View/ Download :</b> <input type=image border=0 align=absmiddle src=./images/pimages.jpg title="Click here to view full- text item"> Hi I have site it has windows media player embeded in it, it plays some live stream, I want page to load than stream to load it take about 5 seconds to load, I want html code to double click on windows media player so it will be full screen automatically without user doing it. Please help me Thank you. I want to put color in my option box.. How can i do it? thanks =D <html> <bgcolor="black"> <select size="1" name="D1" > <option selected>Punk</option> <option>Sum 41</option> <option>GoodCharlot</option> <option>My Chemical Romance</option> <option>Green Day</option> <option>Blink 182</option> <option>The All American Rejects</option> <option>The offspring</option> <option>30 seconds to mars</option> <option>Tokio Hotel</option> </select> </html> I have a drop down menu that changes the page when one of the options is selected. When I select an option, I want that option to become the selected option. Here is some example code. <select class="select" name="Gender" onchange="submit()"> <option value="">Gender</option> <option value="0">Female</option> <option value="1">Male</option> </select> If I select "Female" I want that option to be selected when the page reloads. Now the menu resets to "Gender" every time the page reloads. Thanks Hey all! Is there a way to pass more than one value using the HTML option tag? I am using HTML and ASP together and so I need a first name variable and a last name variable from a DB2 table to be passed as well as show up together as one value in the drop-down box I have created (i.e. John Doe). As of right now I have figured out how to make it show in the drop-down box as John Doe however, I need the full name to be one value. Hope this makes sense! Thanks! Response.write "<option value=" & rs("FIRST_NM") & ">" & rs("FIRST_NM") & "</option> <option value=" & rs("LAST_NM") & ">" & rs("LAST_NM") & "</option>" How I could make a download option using HTML. Thanks in advance how to do? i want a link that go to one site and show another text like - Lemon Smash <a href="http://www.jogos10.com/jugar.php?id=4918">Click to play =)</a> . but in option box. <script type="text/javascript"> window.onload=function() { document.getElementById('menu').onchange=function(){ goThere(this.value); } } function goThere(url){ location.href=url; } </script> </head> <body> <div> <select id="menu"> <option value="www.benfica.com" selected="selected">go to benfica</option> </select> </div> ?? is that? it is not working, is the last time that i call for your help, i promess, but plzzzzzzzzzz =D I have taken over a website that has font size option. and now that i added some text, the text will not change when i use the font size option buttons on the left. anyone have any thoughts? http://www.aacwinnip...enda_Sklar.html Hello, I want to put a dashed line divider between a value in option and other options. A pseudocode is mentioned below. Please help How do I achieve this? The dashed line should not be allowed to be selected. <SELECT> <OPTION VALUE="TravelLeisure.html">Travel & Leisure <OPTION VALUE ""> ----------- <OPTION VALUE="ymca.html">Waste Management <OPTION VALUE="WaterManagement.html">Water Management <OPTION VALUE="Welding.html">Welding </SELECT> Thanks, Ruchir I realize that I need to have an offline color chart handy, I would like a standalone chart on my desktop for easy access, any links please? Hi, If one were to choose an option from a drop down, is there any way to immediately show either a textbox or some sort of input method next to the option? Ive seen this done on facebook, but i am not sure what type of language its using. an example is like this: How Many Links?: <select name="links"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select><br><br> if the user chooses drop down option 3, then immediately there would be 3 textboxes for the user to submit the website links.. thanks Hey all, I've been looking all over the net for a tutorail about this, but I can't seem to find one. What I'm trying to do is make a drop-down box where you can select an option, press a submit button, and it'll open up a new window *or tab for firefox users* pertaining to that information, such as a site that I choose to link to it. This is the code I'm using for my option box <div align="left"> <select name="xfer" size="1" style="color:000000; background-color:226622; font-family:trebuchet ms; font-size:11px; border:thin solid "ffffff;> <option></option> </select> </div></form> I'm totally stumped here. Any help would be greatly appreciated! -Cheers, Billy Hi: Problem with understanding/using the <select /> clause. I would like the page sent to the user (upon loading) to show the chosen location (i.e., a State of the USA) when I send an updated page with a specified 'Value' set: Here is an abbreviated portion of my Select Clause: <select name="homestate"> <option selected="selected" value="CA">Select State</option> /*note the 'CA*/ <option value="AK">Alaska</option> <option value="AR">Arkansas</option> <option value="CA">California</option> /* I want California to display */ </select> Note that my 'Value' above for the "selected" option is "CA" (for California). However, if I send this updated page to my user with *his* state as 'CA', it still shows as 'Select State' -- where I wish 'California' to display in the Select Default Box. Question: Is there some way that I can make the Select Clause bring up the word 'California' when it accesses the Value='CA' and so on with other 'value' choices ?? (or does this have to be done (somehow) with Javascript ?? Thanks for any guidance ! -Mel Smith Hi, how can I put in a drop down menu that slides down or across from a regular text link in html? Then, when selecting one of the options, I would like it to automatically take the visitor to the page option selected? I don't want a drop down menu and then hit 'Go' type mechanism, just a slide and click type thing. i.e when the link is clicked on it would reveal a drop down list that says.. Hotel Car Rental Airport Car Park Insurance and would then link directly to the appropriate page. Thanks! Hello friends, i have a small problem with option value syntax... i' trying to send the value exactly like '123'. i want that both singlequotes but the value not taking that value... $string = " '123','234','345' "; $name = one; <option value=$srting>$name</option> but it is not displaying any vlaue.... help me anybady... thank you Info This is one of these things where you probably should just go to bed and forget all the confusion. My question: How the heck can you specify the length of the option field for a drop town list? I am sure ther is an embarrasingly simple answer. Thanks a lot and good night! Hello all, I have a stong question because i can't solve it. I want to creat a drop down list with images beside each row. Usualy on clasic html is something like this: select ... option value /option /select But i want a small image (icon) beside each option from select. See for example: http://www.scrigroup.com/afaceri/con...ate/index7.php on the top page see a clasic select. How can i change it to icon seclect on each option? Thanks for your effort to reply Hi All! I'm using the Option Group/ optgroup/ Select features within a form and would like to initially display all options without having to click the arrow button to "reveal" the selections. I can't seem to find the option to allow this. Of course I can switch to a hyperlinked list, but have made extensive Option Group and would like to continue to use them. Thanks in advance!! Preface: Aside from an angelfire webpage back in the 90's I have very little HTML experience. I am now trying to create a webpage and server on an 8-bit microcontroller. Because of memory limitations, I need to keep my entire page in one packet (~1500 bytes, including headers, et al). To avoid unnecessary overhead in the server, I do not want to use Code: <header><meta http-equiv="refresh"content=30;url=http://... Instead, I would like to put a refresh button on the page for users to hit when they want to check for any changes to the page. I have tested two options that both seem to work (tested in IE9, Firefox, Chrome). Option 1: An actual button Code: <form><input type=button value="Refresh"onClick="window.location.reload()"></form> Option 2: Just a simple link to the page with the word Refresh Code: <a href="http://www.....">Refresh</a> Question: I am not looking for the fanciest solution here -- just the most reliable. That said, I would prefer the button solution over the hyperlink solution. Is there any danger that Option 1 may not work in some cases in some browsers? Will both/either force the browser to go out and get the page again (rather than load from cache)? |