On selecting a field value in a listbox it should open the web URL and i don't want any extra step to do user for opening the URL(i.e; Not to have Button click).
"Open URL" action is not working for field "On Select" event trigger so that's why i had choossen for Macro code. And i got a macro which works fine in "IE Plugin" but not supports in "AJAX". So i was looking eagerly for the macro that should also work in AJAX.
if ActiveDocument.Fields("Link").getSelectedValues.Count = 1 then