Bug Tracker

Modify

Ticket #1974 (closed bug: invalid)

Opened 5 years ago

Last modified 4 years ago

Cannot make ajax call from function that is called by child window in firefox

Reported by: hclewk Owned by:
Priority: major Milestone: 1.2.2
Component: ajax Version: 1.2.1
Keywords: Cc:
Blocking: Blocked by:

Description

I have code similar to the following: <!-------START EXAMPLE-------->

<!--------parent.html---------> <script type='text/javascript'> function DoStuff() {

$.post("dosomething.html");/*post is just an example, you can change post to 'get' or 'load' and it does the same thing*/

} </script> <iframe src="child.html"></iframe>

<!------------child.html---------> <script type='text/javascript'>

parent.DoStuff();

</script> <!-------END EXAMPLE------------->

The ajax call fails every time in Firefox (2.0.0.9). It works fine in IE 7 (haven't tested it in IE 6). The "child.html" does not have to be an iframe; it can simply be a popup window.

Change History

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

If this problem still exists, please reopen with a test case.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.