Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-31-2012, 02:12 AM   PM User | #1
Sabastion
New to the CF scene

 
Join Date: Apr 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Sabastion is an unknown quantity at this point
Simple ajax question

Ok so I fixed one problem I was having with ajax. I got IE to actually show the text on a page by putting the <html> tags around the items.

I was trying to make the interface better but I can not get it to show a table. Every time I try to get the second page to show a table IE crashes the ajax command an nothing happens.

Maby I am over thinking this.

Start page
Asks for the item the person would like to see with a fetch button.
Click the fetch button.
Ajax calls ITEMS.asp to get the item information.
ITEMS.asp returns a table with the information.

For some reason if I do not format the info ITEMS.asp will work fine with IE but if I try to use <table> it crashes. Anyone know what I am doing wrong here?
Sabastion is offline   Reply With Quote
Old 01-31-2012, 08:06 AM   PM User | #2
devnull69
Senior Coder

 
Join Date: Dec 2010
Posts: 2,245
Thanks: 10
Thanked 531 Times in 525 Posts
devnull69 will become famous soon enough
Does your table have a proper structure? IE is very sensitive about that
Code:
<table>
 <thead>
  <tr><th></th>...</tr>
  ...
 </thead>
 <tbody>
  <tr><td></td>...</tr>
  ...
 </tbody>
</table>
with thead being optional, tbody is mandatory!
devnull69 is offline   Reply With Quote
Users who have thanked devnull69 for this post:
Sabastion (02-05-2012)
Old 02-05-2012, 04:47 PM   PM User | #3
Sabastion
New to the CF scene

 
Join Date: Apr 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Sabastion is an unknown quantity at this point
Yes that was the answer. IE is way to strict although its probably better code now. Thanks for the help Devnull69. Ill post this in another post on here. someone is asking for this.

Last edited by Sabastion; 02-05-2012 at 05:14 PM..
Sabastion is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 06:22 AM.


Advertisement
Log in to turn off these ads.