Jump to content

Search the Community

Showing results for tags 'with jQuery slidetoggle effec'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. I will begin the opposite, by demonstrating the code first. [COD<a onclick="jason()" style="display:block;" class="testMenuItem1" title="element1" name="1">08:00</a> <?php echo $form?> <a "class="testMenuItem2" title="element1" name="1">09:00</a> <?php echo $form?> [/code] In element1 i have attached an onclick event that executes this function here: function jason(){$("#whole").slideToggle("slow"); }; @whole is the div's name given to the form: <form action="Proccess.php" method="post"><div id="whole"> <table border="0"> <tr> <td >Name</td> <td><input type="text" name="name" maxlength="45" size="35" /></td> </tr> <tr> <td>Phone</td> <td><input type="text" name="phone" maxlength="45" size="35" /></td> </tr> <tr> <tr class="time"> <td>Time</td> <td><input type="text" name="time" maxlength="45" size="35" /></td> </tr> <tr> <td><input class="submit" type="submit" value="submit" maxlength="25" size="15" /></td> </tr> </table> </div> </form> The problem is that if i attach an onclick event(calling the same function as testmenuitem1) also in "testMenuItem2", the form code that will open is that below "testMenuItem1. The forms are identical in both items, i just want, the form appearing below its corresponding element. Now, the only form that appears is the one under "testMenuItem1, even if i click "testMenuItem2. I hope you understand the nature of the problem. Of course the items are many more, i am just using this 2 for example only. I
×
×
  • Create New...