hello.

i have the following button:

echo "<input type=\"button\" name=\"CheckAll\" value=\"Check All\"\n";

now i wanted to know, if it's possible, not to show here a button but a normal hyperlink?? so you can click on that link and it works exactly like the button above??

thx for help! 🙂

j0sh

    ??? php?

    however...

    if you want to show a normal link, why don't you show a normal link...

    a "button" works exactly like a link...it's not an input="submit", right?

    i think what you want to add is an <a href="#" onClick="javascript:Checkall();"> kind of event...

    or...maybe i'm completely misunderstanding the question...

    good luck!...v

      ok, no, this answers my question! i found it out myself, was a silly question! 😉 thx

        argh, its NOT the solution!! 🙁

        what i wanted is the following:
        i have the following code:

        	echo "<input type=\"radio\" name=\"selectall\"  onclick=\"selectAll(this.form,0);\">Select All\n";
        	echo "<input type=\"radio\" name=\"selectall\"  onclick=\"selectAll(this.form,1);\">Inverse All\n";

        by clicking on a radio then the checkboxes in the form are selected all or deselected.
        but i just dont like to have checkboxes, so i wanted to have links like "select all" and "deselect all". is there a way to do it? i think you have to add the link to the <form>, because the onclick makes changes on "this.form"... anyone knows a solution?

        thx

          Write a Reply...