From: Rahul Mehta on
{username:'rahul',password:'123'}

on alert it gives object ,
how can i validate this type of object ...

please help ASAP

thanks

rahul
From: Denis McMahon on
On 31/07/10 08:18, Rahul Mehta wrote:
> {username:'rahul',password:'123'}
>
> on alert it gives object ,
> how can i validate this type of object ...

so you are doing what?

<script type='text/javascript'>
ob = eval({username:'rahul',password:'123'});
alert (ob.username + "\n" + ob.password);
</script>

Works for me!

Rgds

Denis McMahon