472,796 Members | 1,928 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,796 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 2765
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?

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.