I'm working in Cross Browser Solution for Web Based ERP system. I came across with a JavaScript function which is targeting to open in a new window by clicking the button.
this.form.targe t='_self';
This function is working for all browsers except Mozilla. Could you please help me to get it work in Mozilla Browser.
Thanks
User Profile
Collapse
-
this.form.target function for Mozilla
-
Please help me how i can modify this to work in other browsers -
create Range for Other browsers (Cross Browser Compatibility)
I have a text box. When I write first text , then java script function will fire to check whether it is a number.
For IE , the following code is returning -1 value, But Other browsers it does not alert any value. Please help me
Code:var selected = document.selection.createRange(); var decInSel = selected.text.indexOf('.'); hasNegInSel = selected.text.indexOf('-') != -1; alert(decInSel);Last edited by Dormilich; May 21 '12, 06:56 AM. Reason: Please use [CODE] [/CODE] tags when posting code. -
Double letter displayed in Safari Browser
My simple popup menu contain a textbox which can only allow numbers by running validateNumers javascript function.
Here, if onKeypress is triggered, This javascript function is running twice and return the value inside the textbox twice in Safari Browser. It perfectly works in Other browsers. For an Example, If I typed 2, Then It leaves the vale 22 inside the textbox in Safari browser 5.1.7.
I did not come across this... -
Thanks for your reply. I fixed it by using e.shiftKey . It works for all browsersLeave a comment:
-
window.event.shiftKey not working in Firefox
window.event.sh iftKey works in all browsers except Firefox.
Please help me how i get it work in Firefox
No activity results to display
Show More
Leave a comment: