edcooper:Is there a way to automatically place the focus in a specific field when the page opens?
How to implement the "set focus" action
Axure RP Pro has
supported onFocus and onLostFocus event, but Axure RP Pro has not
supported the "set focus" action. The code below show an alternate
method to implement the "set focus" action:
var customization_found = true;
$(function () {
var currentPageName;
window.setInterval(function () {
if (currentPageName !== mainFrame.PageName) {
switch (mainFrame.PageName) {
case 'Home':
$(mainFrame.document).find('[@title="textField"]').focus();
break;
}
currentPageName = mainFrame.PageName;
}
}, 100);
});
Skype : huzhenghui
Gtalk : huzhengh
Gmail : huzhengh@gmail.com