Jeffy
-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Jeffy
-
-
i tried it but im not sure i did it right....the script is in the head and the html as normal but it didnt do anything?HTML...<select id="selBox" onChange="additionalInput(this.selectedIndex)"><option value="1">mail</option><option value="2">internet</option><option value="3">refferal</option></select><div id="refferalBox" style="display:none"><input id="refferalName"/></div>...
JavaScript
...function additionalInput(index){ var selBox = document.getElementById('selBox'); var refBox = document.getelementById('refferalBox'); if(selBox[index].value == "3") { refBox.style.display = ""; }}
-
how can you create a select drop down box that when a certain option is selected or clicked using the event "onclick" it displays and additional text imput box below it?example: i have a drop down containing the optionsmailinternetrefferalwhat i want to do it when refferal is selected i want it to pop up another imput text box so they can enter who.thanks
-
jonas has answered my question and it works. thank you all for your input
-
can you tell me more about this onload attribute?
-
jonas thats the idea im looking for....didnt work exatly is there a way to get the onclick=window.open to open in itself by putting _self somewhere?
-
heres more of a visual to what i am talking about 1=iframe 12=iframe 2-------------------------------////////--------------------------------------------////////--------------------------------------------////////----------------------11111---------------////////---2222-----------------------------------////////--------------------------------------------////////--------------------------------------------////////-------------ok so i have somthing displayed in iframe 1 and when i click a link in it i want it to display the link in iframe1 aswell as another document in iframe 2, only using the one link though
-
I think i have a unique situation that someone might be able to help me with. on my website when a link is clicked within an iframe it of course opens it in that iframe but my ultimate goal is for it to open the link and open another page in a seperate iframe at the same time. i guess you could consider it double linking? is there a way to do this?
javasript and <select> tag
in JavaScript
Posted
awesome it works great