You need to sign in to do that
Don't have an account?
hovering mouse does not show the information initialized in controller
I have a button created and I wish to have a function where user could just hover to the button and then it will pop up a small window showing the information(String) that I have initialized in the controller.
VF page:
<a href="/{!showing}" id="aa" onblur="LookupHoverDetail.getHover('aa').hide();" onfocus="LookupHoverDetail.getHover('aa', '/{!showing}/m?retURL=%2F{!showing}&isAjaxRequest=1').show();" onmouseout="LookupHoverDetail.getHover('aa').hide();" onmouseover="LookupHoverDetail.getHover('aa', '/{!showing}/m?retURL=%2F{!showing}&isAjaxRequest=1').show();">
<apex:commandButton value="submit" action="{!submit}" style=""/>
</a>
Controller:
public with sharing class toshow{
public String showing {get;set;}
public toshow{
showing = 'I just want to show information';
}
}
I tried this but it just load and then nothing shown, the small window dissappeared after loading. Can anyone assist me?
Use html button instead of using apex:commandbutton.
Let me know if it helps you or not.
Thanks,,
Parmanand Pathak
All Answers
Use html button instead of using apex:commandbutton.
Let me know if it helps you or not.
Thanks,,
Parmanand Pathak