I NOTICE A PROBLEM WITH THE GENERATED HTML:

Manoj Bhatt

Total Post:154

Points:1086
Posted by  Manoj Bhatt
JQuery 
 1250  View(s)
Ratings:
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!

  1. shreesh chandra shukla

    Post:105

    Points:735
    Re: I notice a problem with the generated HTML:

    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!