That should work, though you should probably use something like

encodeURIComponent($('#AssignedTo').val())

to ensure legal characters.

You probably could have just tried it and found out faster than posting
here... ;)

j

On Mon, Jul 21, 2008 at 9:52 AM, Nimrod <[EMAIL PROTECTED]> wrote:

>
> Hi All,
>
> Below is a validation method I used to validate if a a record already
> exists:
>
>        GroupName: {
>                required: true,
>                minlength: 2,
>                remote: "is_exists.asp?to=<%=Encrypt("CompanyGroups","",
> 0)%>&current=<%=sGroupName%>"
>        }
>
>
> How can I put additional data to the remote rule? The data I want to
> append came from one of the data in the form. Can I do the following?
>
> remote: "is_exists.asp?to=<%=Encrypt("CompanyGroups","",0)%>&current=<
> %=sGroupName%>&assigned_to="+$('#AssignedTo').val()
>
> What I want here is to pass a value to "assigned_to" query string.
>
> Thanks
> Nimrod
>

Reply via email to