Jump to content

Problem with mozilla kind of browsers


bhupen2

Recommended Posts

Hello all,

 

Here i am using ajax to get value as select element :

<form action=somepage.php method=get>

<table>

 

<........... some content ....................>

<div id='res_select'>

<table>

<tr>

<td>

      <select  name="Resort" size="1"  style="WIDTH: 120px" class="textbox1">

      <option value='' selected>Select one</option>

      </select>

    </td>

</tr>

    </table>

</div>

<........... some content ....................>

</form>

 

getting value from page getresort.php

 

<table>

<tr>

<td>

<select class="textbox1" name="Resort" size="1"  style="WIDTH: 120px" onchange="javascript:sendajax(this.value,'resort','form_inner1','res_select')">

  <option value='' selected><center>Select one</center></option>

<?php

  $query = "select * from TravelCity where CountryValue='".$_GET['d_code']."' order by Cityname";

$result = mysql_query($query,$link1);

while($row=mysql_fetch_array($result))

{

  echo "<option value='".$row['CityValue']."'>".$row['Cityname']."</option>";

?>

</select></td>

</tr>

    </table>

 

 

It's working fine i am getting the option but when i submit the form (make the search) in mozilla,netscape it's not passing the value of resort to next page.... with IE working very fine...

 

what is the problem...

or i can use some input type=hidden and pass the value but i don't want that...

 

please if you have any solution... please help me out...

 

Thanks

bhupen

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.