problem in IE after asynchronous (AJAX) call

This is a discussion on "problem in IE after asynchronous (AJAX) call" within the Web Page Design section. This forum, and the thread "problem in IE after asynchronous (AJAX) call are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Mar 18th, 2008, 12:17
Junior Member
Join Date: Oct 2007
Location: Holland
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
problem in IE after asynchronous (AJAX) call

hi all

I have a jsp-based website. The initial layout of the page is correctly displayed both in FF and IE7.
However, when I refresh only a part of the page (e.g. a single jsp, using AJAX), the layout of one of the jsp-s gets screwed - it moves down a little.
If I remove a <form> tag from one of the jsp pages (not the one, which refreshes), this problem does not occur any more. However, I need the <form> and cannot afford to skip it.

Recently I had a similar problem: one of my .jsp-s contained a list
Code: Select all
<ul>
   <li>...</li>
   <li>...</li>
</ul>
and only after an asynchronous refresh, it got screwed in IE. In order to avoid this, I had to transform it into:
Code: Select all
<ul>
   <span>...</span>
   <span>...</span>
</ul>
I'm really curious what could be the solution in this case!?!?!?!

looking forward to any suggestions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Mar 20th, 2008, 00:12
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 23
Posts: 1,669
Blog Entries: 1
Thanks: 1
Thanked 4 Times in 4 Posts
Re: problem in IE after asynchronous (AJAX) call

try clearing your block tags. I can't post code because i'm on my mobile but look for Ryan Fait's 'clearing with css'...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Mar 21st, 2008, 07:43
Junior Member
Join Date: Oct 2007
Location: Holland
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem in IE after asynchronous (AJAX) call

hey,

I tried searching for Ryan Fait's 'clearing with css', but couldn't find anything...
What I just tried is adding "clear:both" to all elements, which have "display:block". I don't know whether this is what you meant, but it didn't help..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Mar 21st, 2008, 15:17
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 23
Posts: 1,669
Blog Entries: 1
Thanks: 1
Thanked 4 Times in 4 Posts
Re: problem in IE after asynchronous (AJAX) call

erm... I Google'd Ryan Fait Clearing with css and this is the top result.
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call PHP Web Service With Ajax 2mk PHP Forum 5 Feb 9th, 2008 22:02
[SOLVED] preserve the state of checkboxes after an AJAX call pesho318i JavaScript Forum 4 Nov 7th, 2007 16:35
[SOLVED] AJAX call to a servlet pesho318i JavaScript Forum 9 Oct 28th, 2007 12:40
ASP.NET AJAX and Image problem chandra.nowduri ASP.NET Forum 0 Aug 30th, 2007 09:56
AJAX call function melvinoyh JavaScript Forum 2 May 31st, 2006 01:02


All times are GMT. The time now is 03:34.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42