Click here to Skip to main content
15,891,708 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: How can i remove pipe character in string using regex Pin
sohighthesky15-Nov-10 19:01
sohighthesky15-Nov-10 19:01 
Questionjcarousel not working Pin
wajans6-Nov-10 2:16
wajans6-Nov-10 2:16 
AnswerRe: jcarousel not working Pin
wajans7-Nov-10 19:33
wajans7-Nov-10 19:33 
GeneralRe: jcarousel not working Pin
Not Active8-Nov-10 2:35
mentorNot Active8-Nov-10 2:35 
AnswerRe: jcarousel not working Pin
Eaverae9-Nov-10 20:32
Eaverae9-Nov-10 20:32 
Questionneed Javascript to calculate day difference for dd-mm-yyyy hh:mm:ss(AM/PM) Pin
Alok Sharma ji29-Oct-10 21:24
Alok Sharma ji29-Oct-10 21:24 
AnswerRe: need Javascript to calculate day difference for dd-mm-yyyy hh:mm:ss(AM/PM) Pin
Sunasara Imdadhusen1-Nov-10 2:23
professionalSunasara Imdadhusen1-Nov-10 2:23 
QuestionJavascript Inoperative only in Explorer Pin
PDTUM29-Oct-10 19:17
PDTUM29-Oct-10 19:17 
Good Evening,

I am using the following standard script on an Asp.net webpage to open a window.

<script type="text/javascript">
        var pg = "iNewQuery.aspx";
        var title = "New Query Window";
        var props = "left=250,top=250,status=0,scrollbars=0,width=575,height=425"; 
        function NewQuery() {
            window.open(pg,title,props);
        }
    </script>


It works perfectly in Chrome and Firefox but is returning the following error in Internet Explorer:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.5.30729; InfoPath.1; .NET4.0C; .NET4.0E)
Timestamp: Sat, 30 Oct 2010 05:09:02 UTC


Message: Invalid argument.
Line: 61
Char: 13
Code: 0
URI: http://localhost:4743/Simplicity%202011%20Online/Main.aspx

I have no idea what could be wrong. The error is supposed to be on the following line:

function NewQuery() {

It looks too simple to have a problem, but obviously the browser does not like it. I would appreciate finding a correction for the problem. Thank you for your time....Pat
AnswerRe: Javascript Inoperative only in Explorer PinPopular
NeverHeardOfMe29-Oct-10 22:57
NeverHeardOfMe29-Oct-10 22:57 
GeneralRe: Javascript Inoperative only in Explorer Pin
Sunasara Imdadhusen1-Nov-10 2:16
professionalSunasara Imdadhusen1-Nov-10 2:16 
AnswerRe: Javascript Inoperative only in Explorer Pin
PDTUM1-Nov-10 8:55
PDTUM1-Nov-10 8:55 
QuestionJava Script Error Pin
MathewPV29-Oct-10 19:14
MathewPV29-Oct-10 19:14 
AnswerRe: Java Script Error Pin
Not Active31-Oct-10 4:26
mentorNot Active31-Oct-10 4:26 
AnswerRe: Java Script Error Pin
Sunasara Imdadhusen1-Nov-10 2:14
professionalSunasara Imdadhusen1-Nov-10 2:14 
GeneralRe: Java Script Error Pin
Ankur\m/18-Nov-10 2:11
professionalAnkur\m/18-Nov-10 2:11 
QuestiondeleteRow() weird behavior, deletes two rows. Pin
da808wiz28-Oct-10 15:36
da808wiz28-Oct-10 15:36 
AnswerRe: deleteRow() weird behavior, deletes two rows. Pin
sohighthesky15-Nov-10 19:40
sohighthesky15-Nov-10 19:40 
GeneralRe: deleteRow() weird behavior, deletes two rows. Pin
da808wiz16-Nov-10 6:55
da808wiz16-Nov-10 6:55 
Questionget controls using name Pin
i gr827-Oct-10 21:30
i gr827-Oct-10 21:30 
AnswerRe: get controls using name [modified] Pin
Sunasara Imdadhusen27-Oct-10 22:53
professionalSunasara Imdadhusen27-Oct-10 22:53 
AnswerRe: get controls using name Pin
moocr.com1-Nov-10 15:27
moocr.com1-Nov-10 15:27 
AnswerRe: get controls using name Pin
jaypatel51214-Nov-10 8:02
jaypatel51214-Nov-10 8:02 
QuestionHow to handle events in Pocket Internet Mobile Pin
Rahul Chitte26-Oct-10 22:21
Rahul Chitte26-Oct-10 22:21 
AnswerRe: How to handle events in Pocket Internet Mobile Pin
moocr.com1-Nov-10 20:36
moocr.com1-Nov-10 20:36 
GeneralRe: How to handle events in Pocket Internet Mobile Pin
Zhenjie Fu18-Nov-10 20:59
Zhenjie Fu18-Nov-10 20:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.