Certainly more concise!

On Thu, Nov 12, 2009 at 10:00 AM, saxan rappai <saxanrap...@gmail.com>wrote:

> iam not sure with this .. but its working... a lil modification..
>
>
> <html>
>     <head>
>         <title>Test Page</title>
>         <script src='jquery.js' type='text/javascript'></script>
>         <script type="text/javascript">
>             $(function() {
>                 $('#but').toggle(
>                     function(event) {
>                         $(this).val('Hide Details');
>                     },
>                     function(event) {
>                         $(this).val( 'More Details');
>                     }
>                 );
>
>             });
>         </script>
>     </head>
>     <body>
>
> <input type="button" id='but' value="More Details" />
>     </body>
> </html>
>
>
>
> thanks
> saxan Rappai
>
>
>
> On Thu, Nov 12, 2009 at 8:00 PM, David pr <davidpric...@gmail.com> wrote:
>
>> Thanks but this won't work for a  <input type="button" .../> ?
>>
>> David
>>
>
>
>
> --
> Thanks & regards
>
> Saxan Rappai.
>
> http://www.primemoveindia.com/in_IT_4.html
>

Reply via email to