php, ajax and causes iexplore to hang.
Moderator: General Moderators
php, ajax and causes iexplore to hang.
Hi.
I'm currently working on a classic html/php/javascript/ajax/mysql web project.
At the moment iexplore hangs when I dynamic update content. It's seem to happen rather random.
Firefox is unaffected, - I'm suspecting the $_SESSION is large(contains a lot of objects variables etc.).
Any help would be appriciaded to get rid of these hangs.
-otto
I'm currently working on a classic html/php/javascript/ajax/mysql web project.
At the moment iexplore hangs when I dynamic update content. It's seem to happen rather random.
Firefox is unaffected, - I'm suspecting the $_SESSION is large(contains a lot of objects variables etc.).
Any help would be appriciaded to get rid of these hangs.
-otto
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
This sometimes happens to me if the page doesn't fully load when I call the javascripts. Thus elements don't exist yet.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
That's why it's recommended to put your JavaScript right before the closing <body> tag. Especially since if you assign the script to run onLoad, you still have to load the script before the page, thus slowing the load.scottayy wrote:This sometimes happens to me if the page doesn't fully load when I call the javascripts. Thus elements don't exist yet.
Mhm. I read a yahoo developer blog about this and have been doing it that way ever since. Don't know why I didn't do it from the beginning actually.. it only makes sense.superdezign wrote:That's why it's recommended to put your JavaScript right before the closing <body> tag. Especially since if you assign the script to run onLoad, you still have to load the script before the page, thus slowing the load.scottayy wrote:This sometimes happens to me if the page doesn't fully load when I call the javascripts. Thus elements don't exist yet.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
- The Phoenix
- Forum Contributor
- Posts: 294
- Joined: Fri Oct 06, 2006 8:12 pm
http://developer.yahoo.com/performance/ ... #js_bottomsuperdezign wrote:That's why it's recommended to put your JavaScript right before the closing <body> tag. Especially since if you assign the script to run onLoad, you still have to load the script before the page, thus slowing the load.