Home > DeveloperSection > Forums > I notice a problem with the generated HTML:
Manoj Bhatt
Manoj Bhatt

Total Post:153

Points:1079
Posted on    August-16-2013 6:47 AM

 JQuery JQuery 
Ratings:


 1 Reply(s)
 910  View(s)
Rate this:
Hi!

echo "<a href=\"#tabs-\".$i> $name </a>";

echo "</li>";

echo "</ul>";

echo "<div id=\"tabs-\".$i>

Would result in the following HTML:

<a href="tabs-"1>Name</a>

</li>

</ul>

<div id="tabs-"1>...

Notice how the id's are "tabs-"[Number] as opposed to "tabs-[Number]". Same problem with the href. This might be it or at least part of it.

Thanks in advance!



shreesh chandra shukla
shreesh chandra shukla

Total Post:105

Points:735
Posted on    August-17-2013 6:33 AM

Hi!

echo "<a href=\"#tabs-\".$i> $name </a>";

echo "</li>";

echo "</ul>";

echo "<div id=\"tabs-\".$i>

Would result in the following HTML:

<a href="tabs-"1>Name</a>

</li>

</ul>

<div id="tabs-"1>...

Notice how the id's are "tabs-"[Number] as opposed to "tabs-[Number]". Same problem with the href. This might be it or at least part of it.

Thanks


Don't want to miss updates? Please click the below button!

Follow MindStick