473,398 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

question about openForm()

Hi,
Using IE 6
I found it will fail to open a page.php with openForm() method. To open a
page.htm with openForm() works fine. Is there way to work arround? Thank you
in advance!
Jack
Jul 23 '05 #1
3 2782
Sorry mistake!
The method should be window.showModalDialog() not openForm().

Jack

"datactrl" <qu***@tpg.com.au> wrote in message
news:41********@dnews.tpgi.com.au...
Hi,
Using IE 6
I found it will fail to open a page.php with openForm() method. To open a
page.htm with openForm() works fine. Is there way to work arround? Thank you in advance!
Jack

Jul 23 '05 #2
Sorry it does work. window.showModalDialog() can open a php page.

Jack
"datactrl" <qu***@tpg.com.au> wrote in message
news:41********@dnews.tpgi.com.au...
Sorry mistake!
The method should be window.showModalDialog() not openForm().

Jack

"datactrl" <qu***@tpg.com.au> wrote in message
news:41********@dnews.tpgi.com.au...
Hi,
Using IE 6
I found it will fail to open a page.php with openForm() method. To open a page.htm with openForm() works fine. Is there way to work arround? Thank

you
in advance!
Jack


Jul 23 '05 #3
datactrl wrote:
Sorry mistake!
The method should be window.showModalDialog() not openForm().

Jack

"datactrl" <qu***@tpg.com.au> wrote in message
news:41********@dnews.tpgi.com.au...
Hi,
Using IE 6
I found it will fail to open a page.php with openForm() method. To open a
page.htm with openForm() works fine. Is there way to work arround? Thank

you
in advance!
Jack


The way you serve your pages has no _direct_ impact on the way the client
supports, parses or executes client-side script. PHP simply generates an HTML
document which may or may not contain client-side script. Once that HTML
arrives at the browser it is parsed and the client-side script is (if no errors
are encountered) executed.

Usually the biggest problem with client-side script in programmically generated
HTML is quote mismatches and/or newlines where there shouldn't be any. The
easiest thing to do to trouble shoot a problem like this is to look at the
Javascript console (javascript: typed in the address bar of Gecko-based
browsers or double-click the yellow ! - if there is one - in the lower left
corner of IE) and determine if any client-side errors are occurring. Then View
-> Source of the output produced by the PHP and ensure the client-side script
is correct. Most often you'll find something like:

<script type="text/javascript">
var a = this is a string of text;
</script>

because you did something like:

<script type="text/javascript">
var a = <?php $somevar ?>;
</script>

Without an example of your code, I can't tell you precisely what you are doing
wrong, but simply using PHP to generate the HTML will not affect Internet
Explorer's ability to use window.showModalDialog() (which is *only* work in
Internet Explorer).

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: nospam_stunter2001 | last post by:
Hi folks, I'm new here and am a neophyte Access 2000 user/developer. A year ago, I barely knew what Access was. I was asked by the people that pay us to begin keeping certain data about the...
2
by: Nairb | last post by:
In " vb help" the example for OpenForm Method works fine... DoCmd.OpenForm "Employees", , ,"LastName = 'King'" However if I try to apply the example to my field which is a "yes or no" it does...
2
by: Daniel Hidalgo | last post by:
Hi, I have an issue that I am trying to resolve. I am populating a list box with employee names and would like to have the capability for a user to open an employee record by double clicking on...
2
by: jeffrod444 | last post by:
Hi, I've been having problems getting my forms to work correctly. If seen other threads addressing this issue, however, these are not working for me. The short of my problem is this. I am trying to...
4
by: motessa | last post by:
Hello All, I have a quick, easy question. Hopefully, someone will give me a hint. I will greatly appreciate any help. I am pretty new to Access. I have created a Main Menu in Form in Access....
1
by: Stephen D Cook | last post by:
I have a form with a query linked subform. Also on the form is a textbox. I want to pull up an AddItem subform if the data in the textbox does not exsist in the table, and a UpdateItem subform...
8
by: SBC News Groups | last post by:
Can someone please tell/show me how I would do the following... I have a table called tblOne. In tblOne I have three fields, two, three, four. I have a form called frmMain. I have three blank...
3
by: Matt | last post by:
Hi All, I have the current Sub Procedure in a VBA Module. ----------------------------------------------------------------------------------------------------------------------------- Sub...
7
by: rik | last post by:
I am trying to build an Access 2002/2003 database application that I would like to offer to other writers so they can track submissions. Just trying to make a helpful tool for writers, poets, or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.