Last post Nov 24, 2016 08:26 AM by nayan_godhani
None
0 Points
4 Posts
Nov 09, 2016 01:53 PM|jbon|LINK
Hi,
I am using asp.net with vb. Created buttons in my ASPX but when I go over with the mouse IE shows the URL path in the bottom. I do not like that behavior.
Is there a way that, when I go over a button with the mouse, the URL info is not displayed..
Thanks
Star
11749 Points
2997 Posts
Nov 09, 2016 04:34 PM|paindaasp|LINK
If you are referring to the status bar on the bottom of the browser, chances are you will not be able to change it because of security concerns.
Nov 09, 2016 05:51 PM|jbon|LINK
I do not want to change the IRL I want that it will not displayed..
All-Star
17652 Points
3510 Posts
Nov 11, 2016 02:24 AM|Chris Zhao|LINK
Hi Jbon,
You could use buttons of type button instead of submit (the default) and IE won't display any tool tip. There are few workarounds.
<button id="btnCancel" type="button">Cancel</button> <input id="btnCancel" type="button" value="Cancel"></input> <a id="btnCancel" class="btn" href="#">Cancel</a> <script type="text/javascript"> $(document).ready(function () { $("#btnCancel").click(function (e) { myForm.submit(); }); }); </script>
reference: http://stackoverflow.com/a/21303276
Best Regards,
Chris
18 Posts
Nov 24, 2016 08:26 AM|nayan_godhani|LINK
if you are using anchor tag inside button, use below code to hide URL link on mouse over
$('a').each(function(){
$(this).attr('onclick','window.location.href="'+$(this).attr('href')+'"');
$(this).attr('href','#');
});
None
0 Points
4 Posts
Mouseover Button in ASP.net vb shows URL
Nov 09, 2016 01:53 PM|jbon|LINK
Hi,
I am using asp.net with vb. Created buttons in my ASPX but when I go over with the mouse IE shows the URL path in the bottom. I do not like that behavior.
Is there a way that, when I go over a button with the mouse, the URL info is not displayed..
Thanks
Star
11749 Points
2997 Posts
Re: Mouseover Button in ASP.net vb shows URL
Nov 09, 2016 04:34 PM|paindaasp|LINK
If you are referring to the status bar on the bottom of the browser, chances are you will not be able to change it because of security concerns.
None
0 Points
4 Posts
Re: Mouseover Button in ASP.net vb shows URL
Nov 09, 2016 05:51 PM|jbon|LINK
I do not want to change the IRL I want that it will not displayed..
All-Star
17652 Points
3510 Posts
Re: Mouseover Button in ASP.net vb shows URL
Nov 11, 2016 02:24 AM|Chris Zhao|LINK
Hi Jbon,
You could use buttons of type button instead of submit (the default) and IE won't display any tool tip. There are few workarounds.
reference: http://stackoverflow.com/a/21303276
Best Regards,
Chris
None
0 Points
18 Posts
Re: Mouseover Button in ASP.net vb shows URL
Nov 24, 2016 08:26 AM|nayan_godhani|LINK
if you are using anchor tag inside button, use below code to hide URL link on mouse over
$('a').each(function(){
$(this).attr('onclick','window.location.href="'+$(this).attr('href')+'"');
$(this).attr('href','#');
});
Nayan Patel
Software Developer
iFour Technolab Pvt. Ltd.
http://www.ifourtechnolab.com