Great :)

Thanks & Regards,
Dhruva Sagar.


Marie von 
Ebner-Eschenbach<http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html>
- "Even a stopped clock is right twice a day."

On Wed, Nov 4, 2009 at 9:09 AM, ReynierPM <rper...@uci.cu> wrote:

> Dhruva Sagar wrote:
>
>> A minor mistake in the previous mail, please take this into consideration
>> and neglect the previous mail :
>>
>> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
>> <head>
>> <script src="http://code.jquery.com/jquery-latest.pack.js";
>> type="text/javascript" language="javascript" charset="utf-8"></script>
>> <script type="text/javascript">
>> //<![CDATA[
>> $().ready(function(){
>> $('#clicy').click(function(){
>> var id = "word" + $('input[type!=hidden]').length;
>> var hid = "hw" + $('input[type=hidden]').length;
>> $('input[type=submit]').before('<br/><input type="hidden" name="'+hid+'"
>> id="'+hid+'" value="&&"/><label for="'+id+'">&&</label><input type="text"
>> name="'+id + '" id="'+id + '" value="" size="30" /><br/>');
>> return false;
>> });
>> $('#clico').click(function(){
>> var id = "word" + $('input[type!=hidden]').length;
>> var hid = "hw" + $('input[type=hidden]').length;
>> $('input[type=submit]').before('<br/><input type="hidden" name="'+hid+'"
>> id="'+hid+'" value="||"/><label for="'+id+'">||</label><input type="text"
>> name="'+id + '" id="'+id + '" value="" size="30" /><br/>');
>> return false;
>> });
>> });
>> //]]>
>> </script>
>> </head>
>> <body>
>> <form action="search/DoSearch" method="post">
>> <label for="word">Texto:</label>
>> <input type="text" name="word" id="word" value="" size="50" />
>> <div><input type="submit" value="Buscar !!!" /></div>
>> </form>
>> <a href="" id="clicy">Adicionar criterio de búsqueda (&&)</a> | <a href=""
>> id="clico">Adicionar criterio de búsqueda (||)</a>
>> </body>
>> </html>
>>
>>
>> Thanks & Regards,
>> Dhruva Sagar.
>>
>>
>> Stephen Leacock<
>> http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html>
>>
>> - "I detest life-insurance agents: they always argue that I shall some
>> day
>> die, which is not so."
>>
>> On Wed, Nov 4, 2009 at 8:46 AM, Dhruva Sagar <dhruva.sa...@gmail.com>
>> wrote:
>>
>>
>>
> Thanks a lot, I made some improvements to your code because I'm using a
> table now but it works perfectly.
>
> --
> Saludos
> ReynierPM
>

Reply via email to