Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-21-2012, 11:20 AM   PM User | #1
mpinter09
New to the CF scene

 
Join Date: Sep 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mpinter09 is an unknown quantity at this point
Javascript not playing well with PHP in dropdown list

Thanks for dropping in.

I have a large drop down menu that I have eliminated the "enter" button from by using Javascript. The menu displays table entries stored in a PHP document.

The JS script is working fine and communicating with the PHP doc but the communication is flawed. Instead of grabbing the correct link, I get returns like this:

[03:11:42.034] GET http://projectrepresentme.com/county...e%3D=Calaveras [HTTP/1.1 200 OK 215ms]

All this stuff (%3E%0D%0A%0D%0A%3Coption+value%3D=) is URL gibberish and doesn't belong.

The correct URL should be http://projectrepresentme.com/county...php?=Calaveras

Does anyone know how to remedy the situation?

Here's a link to the test page: http://projectrepresentme.com/testpage/

(I have an iframe in the page if you want to view that source)

Thank you!
mpinter09 is offline   Reply With Quote
Reply

Bookmarks

Tags
javascript, php, table

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:11 AM.


Advertisement
Log in to turn off these ads.