
January 24th, 2006, 04:09 PM
|
|
Contributing User
|
|
Join Date: Apr 2007
Posts: 17
Time spent in forums: 1 h 8 m 35 sec
Reputation Power: 0
|
|
|
differences Mozilla FF and IE
in index page i have a form name customer_sub and selectbox customer_val.
i open popup page and search a customer value
php Code:
Original
- php Code |
|
|
|
<a href="#" onclick="javascript:window.open('customer_search.php','popu p','resizable=no,scrollbars=yes,width=350,height=4 00');">otsi</A>
and in customer_search.php show wounded searcing result
values as link with values and call function founded
values in searsh result and selectbox list customer_val is identical.
php Code:
Original
- php Code |
|
|
|
<A HREF="javascript:founded('founded_value');">founded value</A>
function must give selectbox customer_val value "founded_value" andsubmit customer_sub form.
php Code:
Original
- php Code |
|
|
|
function founded(symbol) { if (window.opener && !window.opener.closed) { window.opener.document.customer_sub.customer_val.v alue = symbol; window.opener.document.customer_sub.submit(); window.close(); } }
it works fine with FF, but doesnt work IE
(doesnt give a value and doesnt submit)
what is wrong?
|