HTML - Form Element Questoin!
im looking for a way to be able to enter numbers into a form so that it changes a certain link that i need to be changed. for example:
if you put 1234 in the submit form (or w/e) the url would change to http://url.com/lalala/hmm=1234 then you switch it to 7890 and the url would change to http://url.com/lalala/hmm=7890 thanks for any help Similar TutorialsI have a form with a number of elements. One of these elements is: <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-subscribe.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> Clicking on that element makes the form submit. But if I add a similar element: <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-subscribe.gif" border="0" name="submit2" alt="Make payments with PayPal - it's fast, free and secure!"> ...clicking on that also makes the form submit. So was wondering if anyone knew what the rules were for which elements make a form submit? Cheers, James I have a FORM element that I'm trying to have displayed within a P element with a bit of CSS but for some reason the FORM element displays outside the P element. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> #link { border-top: 1px dotted #bbb; border-bottom: 1px dotted #bbb; margin-top: 5px; padding: 3px 0; width: 300px; } </style> </head> <body> <p id="link"> <form> <input type="image" src="http://www.google.ca/intl/en_ca/images/logo.gif"> </form> </p> </body> </html> Why the <img> tag does not have or does not need an ending tag like <p> and </p> > Thank you I have a form element (radio) that currently has an ID and a Name. But I need a third identifying parameter. (The third reference-able parameter is used as an argument in another form element's onClick event.) Knowing that class="x" can actually have class="x y z" and it seems to work, can I also have id="pa1 pa2 pa3"? (I suppose I could try it and see what breaks...) Hello, I am Delphi programmer and PHP web development, I have a problem with the AJAX which is: how to free or close the element, in the Delphi when I create an object in runtime it can be free the object and close it like query, anyway how to close or free the result in AJAX language? below is an exmple: Code: var Buffer= document.body; var getDivBox= document.getElementById("div_box"); var EDivBox= document.createElement("div"); if (getDivBox != null) { getDivBox.style.visibility = "visible"; } else { EDivBox.setAttribute("id","div_box"); Buffer.appendChild(EDivBox); } with the above code, for first loading it will create to element and while you are in the page it will still create my question is how to close the created element in order to make the page fast because in the localhost I checked the CPU performance and I surprised: it was 100%, when I close the page it go back normal. any help with this topic is highly appreciated Regards Hi there How is every one doing? I am new to HTML and just wanted to know so I understand is a element the text that gos between the tag and is the tag Altitude </> im just a bit lost . thank you for your time Matt I'm a beginner and I need to know exactly how to put together and img tag. I know how to do it with the other ones but I don't exactly know how to do it with just one tag. Please someone help me out simple question I hope. Hi, is it possible to add a number of tables (or td's or any rectangluar html container element) in the same vertical level but as long as there is room. But if there is no more room the new ones will be added in the next line the behaviour i am need is the like the behaviour of the img element. Am I clear enough? Merci! Hey guys, Im working on a site for a publishing company and I would like to add a photo slideshow like the one here http://www.chapters.indigo.ca/. I believe its an AP Element I looked into it and dreamweaver cs4 doesnt have the AP Element button like the older versions did. If someone could give me a hand or show me a good tutorial to use, that would be great. I tired copying the code from the site but Im still a newbie and its a little confusing Help would be excellent....Thanks Hi everyone, Our website:- alternativeroutefinance.co.uk - has some issues with moving elements. The problem seems to be with Widescreen monitors, as well as the Firefox browser. I'm not quite sure what the problem might be, does anyone have ANY idea? Feedback would be greatly appreciated! Cheers, Nick hi how to make a table element collapse? I have a html table in my web page, and this table contains some input elements (like text box, btton etc) as cell data. I have implemeted a functionality to navigate through each cell by arrow keys. Now i want to set the focus to the cell data (button or textbox) with arrow key navigation. html table code snippet - <td id="testTd"><input id="testButton" type="button" value="test" onclick="alert('test clicked!!')"/></td> While navigating through keyboard i get the id of button but when i try to set focus, it does not seem to be working javascript code snippet - var td = tabMatrix[rmove][cmove].firstChild; alert(td.id); // here i get the id of button var button = document.getElementById(td.id); button.focus; any help or pointers would be of great help. Hi, I know the label element is for associating a text label with a control, and that when you click it the control gets focus. But is that its only purpose? Is it supposed to be used for describing a more general semantic relationship. In particular can/should/is it intended to be used to associate key value pairs to describe a semantic relationship sort of like <dt> <dd>? For example say I have a listing of key values pairs from say a config file. Should I do this: <label for="val0">screenheight:</label><span id="val0">7560</span> I dont know, maybe I should use <dt> <dd> and re-style with CSS? Or maybe thats what the ":" is for(!) and I dont need to express this in HTML (Thinking about the boundary between presentation and semantics makes my crazy, its very fuzzy in my opinion). Any thoughts appreciated. Thanks. hello guy can i get another element id of other web-pages sites sorry this thread has been en error I have a page and need an image to load from the server whenever the page is loaded (even if the user hits the back/forward button). I am aware of doing it with a META tag, but I only want it with one image - not every image on the page. Thanks in advance for the help! When I use the element <a> for linking to another URL I can include the title attribute to describe the site to which I am linking to. My question is whether this "title" attribute is mandatory when I write html 4.01 strict. Julio Hi, I am a complete novice - been in a workbook for about a month or two and just getting into frames and ran into a browser display problem. The following code will display a "red" border in IE but not in Firefox or Opera. Its a workbook example and I wrote the code exactly as it says but I'm assuming something has changed since the book was published. <frameset rows="85,*" border= "0" spacing="0" frameborder="0" framespacing="0"> <frame src="topbanner2.html" scrolling="no" marginheight="0"> <frameset cols="150,*" style="border-top: 5px ridge red"> <frame src="sidebar3.html" marginheight="0" marginwidth="10px"> <frame src="main3.html" name="main" style="border-left: 5px ridge red"> </frameset> Any Suggestions. Thanks, Ralph Does anybody know if this could be fixed? Browsers are automatically adding a trailing slash to this type of URLs: news://8788365112506@newsgroups.comcast.net Although the source code is without trailing slashes: <A HREF="news://a535b$4569219e$54697c62$7238@cache10.multikabel.net">Download</A> Is this possible to be fixed? Maybe this could be done with CSS or JavaScript? Many thanks in advance! |