Click here to Skip to main content
11,720,324 members (80,083 online)

JavaScript

 
QuestionHow to send request data from one tab to other tab which are on same jsp Pin
mayureshdh9-Sep-12 18:52
membermayureshdh9-Sep-12 18:52 
Questionjavascript/jquery Pin
chaim_zvi8-Sep-12 8:50
memberchaim_zvi8-Sep-12 8:50 
Questionshow alert in javascript and not continue Pin
ptvce6-Sep-12 21:26
memberptvce6-Sep-12 21:26 
AnswerRe: show alert in javascript and not continue Pin
J4amieC6-Sep-12 22:11
memberJ4amieC6-Sep-12 22:11 
GeneralRe: show alert in javascript and not continue Pin
ptvce6-Sep-12 22:30
memberptvce6-Sep-12 22:30 
AnswerRe: show alert in javascript and not continue Pin
MKAdeel13-Sep-12 1:22
memberMKAdeel13-Sep-12 1:22 
GeneralRe: show alert in javascript and not continue Pin
ptvce16-Sep-12 20:22
memberptvce16-Sep-12 20:22 
QuestionPython Pygame Newbie Code Help Pin
johtnkucz31-Aug-12 12:14
memberjohtnkucz31-Aug-12 12:14 
QuestionProgress Bar Pin
Manish K. Agarwal31-Aug-12 3:33
memberManish K. Agarwal31-Aug-12 3:33 
AnswerRe: Progress Bar Pin
C-War1-Sep-12 4:50
memberC-War1-Sep-12 4:50 
GeneralRe: Progress Bar Pin
Manish K. Agarwal2-Sep-12 19:22
memberManish K. Agarwal2-Sep-12 19:22 
AnswerRe: Progress Bar Pin
twseitex2-Sep-12 8:24
membertwseitex2-Sep-12 8:24 
GeneralRe: Progress Bar Pin
Manish K. Agarwal2-Sep-12 19:51
memberManish K. Agarwal2-Sep-12 19:51 
GeneralRe: Progress Bar Pin
twseitex4-Sep-12 3:18
membertwseitex4-Sep-12 3:18 
create an activeX object

don't forget
'OBJECT ID="' ... + '"'
+ ' CLASSID="' .... + '"'
+ ' TYPE="' .... + '"'

....

e.g.
"CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"; Mediaplayer Class-ID
"application/x-oleobject" type of Class-ID and media


-----------------------------------

create object directly, not with innerHTML.

X12=document.createElement(....);
X13=document.body.appendChild(X12);

try
{
X13.classid=....
X13.type=....
}
catch(e)
{
...
}

or

X12=document.createElement("<OBJECT ID= ... CLASSID= ...">); // e.g IE
X13=document.body.appendChild(X12);

after that maybe readystate is 4, but
pointer X13 must be !=null and !=undefined
X13.property too e.g. X14.classid

at this point activex exists (installed an callable)

e.g. Mediapalyer and try ..catch

// - - - check MediaPlayer createable, only IE
function checkMediaPlayer()
{
var X00=false;
var X01;

// ----- only if IE exist

// ----- create
X01=document.createElement("OBJECT");
// X01 mus be !=null and !=undefinded

// ----- set object try-catch so no place for readystate
try
{
// attention: activex must be allowed by user

// maybe NOT possible
// X01.classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95";
// X01.type="application/x-oleobject";
// X01.filename= ..... // dummy-wmv 1 sec must exists !

// maybe only that possible
X01.type="application/x-mplayer2"; // EMBED and not activeX
X01.filename= ..... // dummy-wmv 1 sec must exist !
}
catch(e1)
{X00=false;}

// ----- no append to body so no remove from body

if(X00)
{
try{X01.filename='';}
catch(e3){X00=false;}
}

// ----- clear object
X01=null; // no append to body so no remove from body

return X00;
}
Questionget the checkbox index or table row index with javascript Pin
osmanjan30-Aug-12 13:01
memberosmanjan30-Aug-12 13:01 
AnswerRe: get the checkbox index or table row index with javascript Pin
enhzflep30-Aug-12 13:26
memberenhzflep30-Aug-12 13:26 
GeneralRe: get the checkbox index or table row index with javascript Pin
osmanjan30-Aug-12 13:45
memberosmanjan30-Aug-12 13:45 
GeneralRe: get the checkbox index or table row index with javascript Pin
enhzflep30-Aug-12 14:36
memberenhzflep30-Aug-12 14:36 
GeneralRe: get the checkbox index or table row index with javascript Pin
osmanjan30-Aug-12 19:51
memberosmanjan30-Aug-12 19:51 
GeneralRe: get the checkbox index or table row index with javascript Pin
BobJanova30-Aug-12 22:48
memberBobJanova30-Aug-12 22:48 
GeneralRe: get the checkbox index or table row index with javascript Pin
enhzflep30-Aug-12 23:18
memberenhzflep30-Aug-12 23:18 
AnswerRe: get the checkbox index or table row index with javascript Pin
enhzflep30-Aug-12 23:24
memberenhzflep30-Aug-12 23:24 
GeneralRe: get the checkbox index or table row index with javascript Pin
kmoorevs28-Sep-12 6:07
memberkmoorevs28-Sep-12 6:07 
Questionuse JQuery in C# code Pin
GSingh-Developer29-Aug-12 7:26
memberGSingh-Developer29-Aug-12 7:26 
AnswerRe: use JQuery in C# code Pin
jkirkerx29-Aug-12 8:01
memberjkirkerx29-Aug-12 8:01 
GeneralRe: use JQuery in C# code Pin
GSingh-Developer29-Aug-12 8:26
memberGSingh-Developer29-Aug-12 8:26 
GeneralRe: use JQuery in C# code Pin
jkirkerx29-Aug-12 9:49
memberjkirkerx29-Aug-12 9:49 
AnswerRe: use JQuery in C# code Pin
BobJanova30-Aug-12 0:18
memberBobJanova30-Aug-12 0:18 
GeneralRe: use JQuery in C# code Pin
jkirkerx30-Aug-12 7:34
memberjkirkerx30-Aug-12 7:34 
SuggestionText editor Pin
Nolee K28-Aug-12 2:57
memberNolee K28-Aug-12 2:57 
GeneralRe: Text editor Pin
Pete O'Hanlon28-Aug-12 3:06
protectorPete O'Hanlon28-Aug-12 3:06 
GeneralRe: Text editor Pin
BobJanova28-Aug-12 3:31
memberBobJanova28-Aug-12 3:31 
AnswerRe: Text editor Pin
Tadit Dash28-Aug-12 3:56
memberTadit Dash28-Aug-12 3:56 
GeneralRe: Text editor Pin
mark merrens28-Aug-12 9:41
membermark merrens28-Aug-12 9:41 
AnswerRe: Text editor Pin
Joan Murt28-Aug-12 10:00
memberJoan Murt28-Aug-12 10:00 
Questionautomatically checking a check box in a website. Pin
saadmechiche26-Aug-12 22:20
membersaadmechiche26-Aug-12 22:20 
AnswerRe: automatically checking a check box in a website. Pin
Shameel28-Aug-12 3:35
memberShameel28-Aug-12 3:35 
Questionmy function really slows down after 4 times Pin
jkirkerx26-Aug-12 16:34
memberjkirkerx26-Aug-12 16:34 
AnswerRe: my function really slows down after 4 times Pin
jkirkerx28-Aug-12 8:55
memberjkirkerx28-Aug-12 8:55 
Questiontrouble using each in json array Pin
jkirkerx23-Aug-12 12:56
memberjkirkerx23-Aug-12 12:56 
AnswerRe: trouble using each in json array Pin
BobJanova23-Aug-12 22:47
memberBobJanova23-Aug-12 22:47 
GeneralRe: trouble using each in json array Pin
jkirkerx24-Aug-12 6:32
memberjkirkerx24-Aug-12 6:32 
QuestionHow to calculate difference between two date Pin
Robymon21-Aug-12 23:11
memberRobymon21-Aug-12 23:11 
AnswerRe: How to calculate difference between two date Pin
BobJanova22-Aug-12 0:33
memberBobJanova22-Aug-12 0:33 
QuestionHow to add Days in variable Date Pin
Robymon21-Aug-12 21:40
memberRobymon21-Aug-12 21:40 
AnswerRe: How to add Days in variable Date Pin
Pete O'Hanlon21-Aug-12 22:26
protectorPete O'Hanlon21-Aug-12 22:26 
Questionget all image file names from a folder in Jquery Pin
ashjassi19-Aug-12 19:33
memberashjassi19-Aug-12 19:33 
Questionintegrate bidichecker to awebsite Pin
nada200615-Aug-12 17:42
membernada200615-Aug-12 17:42 
Questioneither my css or Javscript is in error, another set of eyes Pin
jkirkerx15-Aug-12 13:19
memberjkirkerx15-Aug-12 13:19 
AnswerRe: either my css or Javscript is in error, another set of eyes Pin
jkirkerx15-Aug-12 16:32
memberjkirkerx15-Aug-12 16:32 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 4 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid