Jump to content

Please help !


todayme

Recommended Posts

Can you do this in PHP?????

 

Note on this line the word Leads is the name of the form and State is Dropdown Box

 

document.Leads.State.value

 

 

 

I just want to be able to identify a dropdown box within a form so I can get the contents of the selection.

 

Surely you can do this in PHP????  I just call a functin from the drop down box upon change.

 

 

 

 

 

 

 

<SCRIPT LANGUAGE="javascript">

 

function captureselection()

 

{

 

var locatestate = window.location

var locateindustry = window.location

 

document.Leads.State.value = locatestate

document.Leads.Industry.value = locateindustry

 

var cool_state = document.Leads.State.value

var cool_industry = document.Leads.Industry.value

 

 

 

}

                    </SCRIPT> 

                   

Link to comment
https://forums.phpfreaks.com/topic/41220-please-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.