>>I was hoping that adding a focus on the button prior to clicking will solve my problem, but it seems not :(
>>
>>Here is my current code:
>>
>>
>>if (lnKey==13)
>> {
>> var btn = document.getElementById("btnRemoveOverdue");
>> if (btn)
>> {
>> btn.focus();
>> btn.click();
>> }
>>
>>What exactly do you suggest in order to get that btnRemove inside the post string?
>
>You need to update the Form tag Action attribute to add any query string you need to be posted.
>
>So, if enter key is pressed, when that function is called, simply do something like:
>
>
>document.getElementById("MyForm").action=document.getElementById("MyForm").action+"MyQueryString"
>
Thanks, going to try that now.
If it's not broken, fix it until it is.
My Blog