School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,415 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,572 people online right now. Registration is fast and FREE... Join Now!




Table colspan issues?

 

Table colspan issues?

cdietschrun

29 Jun, 2009 - 12:22 PM
Post #1

New D.I.C Head
*

Joined: 23 Jun, 2009
Posts: 24

I have a fairly large generated page and I have a problem with clicking on a plus sign to expand a table and it should be expanding the table inside the same table row, instead it is setting this expansion into a new row. I know this used to work before and I have added something to it and now it dosen't work and I can't hunt it down. I've printed out the generated source and attempted to match each tag but it's still eluding me.

Is there some way I can put this generated source into an HTML validator of some sort, to see if it can catch the tags I am missing? I can paste the generated code, but it is quite long, although I could trim it to the table if anyone is willing to help.

User is offlineProfile CardPM
+Quote Post


gregwhitworth

RE: Table Colspan Issues?

29 Jun, 2009 - 02:27 PM
Post #2

(this).problem + "sucks";
Group Icon

Joined: 20 Jan, 2009
Posts: 1,131



Thanked: 82 times
Dream Kudos: 50
Expert In: HTML, CSS, Web Design

My Contributions
I am pretty positive the W3 validation tool works with dynamic html. I may be wrong - but use them first.

http://validator.w3.org/

Also - you can post your code using the following:
code.gif
User is offlineProfile CardPM
+Quote Post

forest51690

RE: Table Colspan Issues?

30 Jun, 2009 - 07:57 AM
Post #3

D.I.C Head
Group Icon

Joined: 20 Mar, 2009
Posts: 115



Thanked: 17 times
Dream Kudos: 50
My Contributions
So you can't view the generat3ed html by viewing the source. And you can't use the W3c validation tool for it either..
The only way that I know of for viewing your generated html is accessing the element's outerHTML property.

so write this:
jscript
element = document.getElementById("whatev");
alert(element.outerHTML);



User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 11:29PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month