473,587 Members | 2,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Basic Javascript Question

Hello,

I am attempting to do something very simple. I have
a page MainPage.aspx and a popup window Popup.aspx. When
users click on the linkbutton in the popup window I am
looking to do some server side processing in Popup.aspx,
then have the popup window close, and have the
MainPage.aspx do a postback to the server. But I am
having trouble determining what client side javascript
Popup.aspx should render after it does its server side
processing. Are there any samples or articles tha
demonstrate how to do this? I keep getting "Object
Expected" in CloseChildWindo w():

script.js
-------------------------------
var PopUp;

// Called from MainPage.aspx
function OpenPopup(id, mode, eid)
{
var url = "";
url += "Controls/PopUp.aspx?";
url += "FormName=" + document.forms[0].name;
url += "&id="+ id;
url += "&m=" + mode;
url += "&eid="+ eid;

var width = 250;
var height = 150;

var str = "";
str += "toolbars=n o,";
str += "status=no, ";
str += "resizable= 0,";
str += "scrollbars=0," ;
str += "width=" + width + ",";
str += "height=" + height + ",";

if ( window.screen ) {
var ah = screen.availHei ght - 30;
var aw = screen.availWid th - 10;

var xc = ( aw - width ) / 2;
var yc = ( ah - height ) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}

PopUp = window.open( url, 'EmailList', str );
}

function CloseChildWindo w(id, postBack)
{
debugger;
PopUp.close();
if (postBack)
__doPostBack(id ,'');
}

The code I have in Popup.aspx is

<script language="JavaS cript">
<!--

window.onload=w indow_onload();

function window_onload() {
window.opener.C loseChildWindow ('a', true);
}

//-->
</script>

Any help would be appreciated! Thanks.
Nov 17 '05 #1
12 1912
Hi, besides from all the obvious things like domain rights, and case
sensitiv try to look for this:

For JavaScript to be public(seen by other programs) in IE, It has to be
declared in the html header.
Nov 17 '05 #2
If I interpret your JavaScript correctly, it looks like your script is
supposed to close the window AFTER a PostBack. The page in the browser after
a postback is not the same page that was in the browser BEFORE the PostBack.
It may be the same HTML document, but the memory of the new instance is not
the same as the memory of the old - HTTP is stateless. To the browser, it is
a whole new page. Therefore, there is no longer a window object reference in
memory pointing to the child window. Using the same variable name does
nothing.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.
"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:07******** *************** *****@phx.gbl.. .
Hello,

I am attempting to do something very simple. I have
a page MainPage.aspx and a popup window Popup.aspx. When
users click on the linkbutton in the popup window I am
looking to do some server side processing in Popup.aspx,
then have the popup window close, and have the
MainPage.aspx do a postback to the server. But I am
having trouble determining what client side javascript
Popup.aspx should render after it does its server side
processing. Are there any samples or articles tha
demonstrate how to do this? I keep getting "Object
Expected" in CloseChildWindo w():

script.js
-------------------------------
var PopUp;

// Called from MainPage.aspx
function OpenPopup(id, mode, eid)
{
var url = "";
url += "Controls/PopUp.aspx?";
url += "FormName=" + document.forms[0].name;
url += "&id="+ id;
url += "&m=" + mode;
url += "&eid="+ eid;

var width = 250;
var height = 150;

var str = "";
str += "toolbars=n o,";
str += "status=no, ";
str += "resizable= 0,";
str += "scrollbars=0," ;
str += "width=" + width + ",";
str += "height=" + height + ",";

if ( window.screen ) {
var ah = screen.availHei ght - 30;
var aw = screen.availWid th - 10;

var xc = ( aw - width ) / 2;
var yc = ( ah - height ) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}

PopUp = window.open( url, 'EmailList', str );
}

function CloseChildWindo w(id, postBack)
{
debugger;
PopUp.close();
if (postBack)
__doPostBack(id ,'');
}

The code I have in Popup.aspx is

<script language="JavaS cript">
<!--

window.onload=w indow_onload();

function window_onload() {
window.opener.C loseChildWindow ('a', true);
}

//-->
</script>

Any help would be appreciated! Thanks.

Nov 17 '05 #3
Hi

If I get you right...

Do the processing in the popup
Return a script to the popup that calls some method(s) in the opener

window.opener.d ocument.forms[0].mySubmitBtn.cl ick(); // This will click a
submit button named mySubmitBtn
Or call a function in parent window(opener)
window.opener.F UNCTIONNAME();
window.close();// Close child

--
Best Regards
Vidar Petursson
=============== ===============
Microsoft Internet Client & Controls MVP
=============== ===============
"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:07******** *************** *****@phx.gbl.. .
Hello,

I am attempting to do something very simple. I have
a page MainPage.aspx and a popup window Popup.aspx. When
users click on the linkbutton in the popup window I am
looking to do some server side processing in Popup.aspx,
then have the popup window close, and have the
MainPage.aspx do a postback to the server. But I am
having trouble determining what client side javascript
Popup.aspx should render after it does its server side
processing. Are there any samples or articles tha
demonstrate how to do this? I keep getting "Object
Expected" in CloseChildWindo w():

script.js
-------------------------------
var PopUp;

// Called from MainPage.aspx
function OpenPopup(id, mode, eid)
{
var url = "";
url += "Controls/PopUp.aspx?";
url += "FormName=" + document.forms[0].name;
url += "&id="+ id;
url += "&m=" + mode;
url += "&eid="+ eid;

var width = 250;
var height = 150;

var str = "";
str += "toolbars=n o,";
str += "status=no, ";
str += "resizable= 0,";
str += "scrollbars=0," ;
str += "width=" + width + ",";
str += "height=" + height + ",";

if ( window.screen ) {
var ah = screen.availHei ght - 30;
var aw = screen.availWid th - 10;

var xc = ( aw - width ) / 2;
var yc = ( ah - height ) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}

PopUp = window.open( url, 'EmailList', str );
}

function CloseChildWindo w(id, postBack)
{
debugger;
PopUp.close();
if (postBack)
__doPostBack(id ,'');
}

The code I have in Popup.aspx is

<script language="JavaS cript">
<!--

window.onload=w indow_onload();

function window_onload() {
window.opener.C loseChildWindow ('a', true);
}

//-->
</script>

Any help would be appreciated! Thanks.

Nov 17 '05 #4
Mark,

I have some code for just this at my website, www.aboutfortunate.com. Just
search the code library for: "refresh main window" or something similar. The
title of the sample you want is:

Close a popup window and refresh the parent window

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:07******** *************** *****@phx.gbl.. .
Hello,

I am attempting to do something very simple. I have
a page MainPage.aspx and a popup window Popup.aspx. When
users click on the linkbutton in the popup window I am
looking to do some server side processing in Popup.aspx,
then have the popup window close, and have the
MainPage.aspx do a postback to the server. But I am
having trouble determining what client side javascript
Popup.aspx should render after it does its server side
processing. Are there any samples or articles tha
demonstrate how to do this? I keep getting "Object
Expected" in CloseChildWindo w():

script.js
-------------------------------
var PopUp;

// Called from MainPage.aspx
function OpenPopup(id, mode, eid)
{
var url = "";
url += "Controls/PopUp.aspx?";
url += "FormName=" + document.forms[0].name;
url += "&id="+ id;
url += "&m=" + mode;
url += "&eid="+ eid;

var width = 250;
var height = 150;

var str = "";
str += "toolbars=n o,";
str += "status=no, ";
str += "resizable= 0,";
str += "scrollbars=0," ;
str += "width=" + width + ",";
str += "height=" + height + ",";

if ( window.screen ) {
var ah = screen.availHei ght - 30;
var aw = screen.availWid th - 10;

var xc = ( aw - width ) / 2;
var yc = ( ah - height ) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}

PopUp = window.open( url, 'EmailList', str );
}

function CloseChildWindo w(id, postBack)
{
debugger;
PopUp.close();
if (postBack)
__doPostBack(id ,'');
}

The code I have in Popup.aspx is

<script language="JavaS cript">
<!--

window.onload=w indow_onload();

function window_onload() {
window.opener.C loseChildWindow ('a', true);
}

//-->
</script>

Any help would be appreciated! Thanks.

Nov 17 '05 #5
Justin,

I downloaded the code from your site (which is very
helpful stuff) but could not find the sample you referred
to (I actually didn't find any samples). I also didn't
find a search function on your site. Is the function
you're referring to in the Javascript namespace? Where
might I find the samples you mentioned? Thanks!
-----Original Message-----
Mark,

I have some code for just this at my website, www.aboutfortunate.com. Justsearch the code library for: "refresh main window" or something similar. Thetitle of the sample you want is:

Close a popup window and refresh the parent window

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:07******* *************** ******@phx.gbl. ..
Hello,

I am attempting to do something very simple. I have a page MainPage.aspx and a popup window Popup.aspx. When users click on the linkbutton in the popup window I am
looking to do some server side processing in Popup.aspx, then have the popup window close, and have the
MainPage.aspx do a postback to the server. But I am
having trouble determining what client side javascript
Popup.aspx should render after it does its server side
processing. Are there any samples or articles tha
demonstrate how to do this? I keep getting "Object
Expected" in CloseChildWindo w():

script.js
-------------------------------
var PopUp;

// Called from MainPage.aspx
function OpenPopup(id, mode, eid)
{
var url = "";
url += "Controls/PopUp.aspx?";
url += "FormName=" + document.forms[0].name;
url += "&id="+ id;
url += "&m=" + mode;
url += "&eid="+ eid;

var width = 250;
var height = 150;

var str = "";
str += "toolbars=n o,";
str += "status=no, ";
str += "resizable= 0,";
str += "scrollbars=0," ;
str += "width=" + width + ",";
str += "height=" + height + ",";

if ( window.screen ) {
var ah = screen.availHei ght - 30;
var aw = screen.availWid th - 10;

var xc = ( aw - width ) / 2;
var yc = ( ah - height ) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}

PopUp = window.open( url, 'EmailList', str );
}

function CloseChildWindo w(id, postBack)
{
debugger;
PopUp.close();
if (postBack)
__doPostBack(id ,'');
}

The code I have in Popup.aspx is

<script language="JavaS cript">
<!--

window.onload=w indow_onload();

function window_onload() {
window.opener.C loseChildWindow ('a', true);
}

//-->
</script>

Any help would be appreciated! Thanks.

.

Nov 17 '05 #6
Justin,

I downloaded the code from your site (which is very
helpful stuff) but could not find the sample you referred
to (I actually didn't find any samples). I also didn't
find a search function on your site. Is the function
you're referring to in the Javascript namespace? Where
might I find the samples you mentioned? Thanks!
-----Original Message-----
Mark,

I have some code for just this at my website, www.aboutfortunate.com. Justsearch the code library for: "refresh main window" or something similar. Thetitle of the sample you want is:

Close a popup window and refresh the parent window

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:07******* *************** ******@phx.gbl. ..
Hello,

I am attempting to do something very simple. I have a page MainPage.aspx and a popup window Popup.aspx. When users click on the linkbutton in the popup window I am
looking to do some server side processing in Popup.aspx, then have the popup window close, and have the
MainPage.aspx do a postback to the server. But I am
having trouble determining what client side javascript
Popup.aspx should render after it does its server side
processing. Are there any samples or articles tha
demonstrate how to do this? I keep getting "Object
Expected" in CloseChildWindo w():

script.js
-------------------------------
var PopUp;

// Called from MainPage.aspx
function OpenPopup(id, mode, eid)
{
var url = "";
url += "Controls/PopUp.aspx?";
url += "FormName=" + document.forms[0].name;
url += "&id="+ id;
url += "&m=" + mode;
url += "&eid="+ eid;

var width = 250;
var height = 150;

var str = "";
str += "toolbars=n o,";
str += "status=no, ";
str += "resizable= 0,";
str += "scrollbars=0," ;
str += "width=" + width + ",";
str += "height=" + height + ",";

if ( window.screen ) {
var ah = screen.availHei ght - 30;
var aw = screen.availWid th - 10;

var xc = ( aw - width ) / 2;
var yc = ( ah - height ) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}

PopUp = window.open( url, 'EmailList', str );
}

function CloseChildWindo w(id, postBack)
{
debugger;
PopUp.close();
if (postBack)
__doPostBack(id ,'');
}

The code I have in Popup.aspx is

<script language="JavaS cript">
<!--

window.onload=w indow_onload();

function window_onload() {
window.opener.C loseChildWindow ('a', true);
}

//-->
</script>

Any help would be appreciated! Thanks.

.

Nov 17 '05 #7
Hi Mark,
Would the child window posting back to the server cause
the parent-child reference variable to be lost?
When you use the JavaScript window.open() method, the window object that
refers to the child window is in the parent window's HTML document. If the
parent window posts back, the reference is lost, as the parent window's
document is unloaded. If the child window posts back, the document in the
child window changes, and all memory in that document is lost, but as the
reference to the child window is in the parent window's document, it isn't
lost.

The child window can close itself without any problems.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.

"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:08******** *************** *****@phx.gbl.. . Kevin,

Thanks for the explanation. I am not sure whether
this applies or not, but I am looking to close the child
window after the child window posts back (not the
parent). The intended order of events:

1) User presses linkbutton in child window
2) Child window posts pack to server
3) Child window closes
4) Parent window posts back to server

Would the child window posting back to the server cause
the parent-child reference variable to be lost?

-----Original Message-----
If I interpret your JavaScript correctly, it looks like

your script is
supposed to close the window AFTER a PostBack. The page

in the browser after
a postback is not the same page that was in the browser

BEFORE the PostBack.
It may be the same HTML document, but the memory of the

new instance is not
the same as the memory of the old - HTTP is stateless.

To the browser, it is
a whole new page. Therefore, there is no longer a window

object reference in
memory pointing to the child window. Using the same

variable name does
nothing.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.
"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:07******* *************** ******@phx.gbl. ..
Hello,

I am attempting to do something very simple. I have a page MainPage.aspx and a popup window Popup.aspx. When users click on the linkbutton in the popup window I am
looking to do some server side processing in Popup.aspx, then have the popup window close, and have the
MainPage.aspx do a postback to the server. But I am
having trouble determining what client side javascript
Popup.aspx should render after it does its server side
processing. Are there any samples or articles tha
demonstrate how to do this? I keep getting "Object
Expected" in CloseChildWindo w():

script.js
-------------------------------
var PopUp;

// Called from MainPage.aspx
function OpenPopup(id, mode, eid)
{
var url = "";
url += "Controls/PopUp.aspx?";
url += "FormName=" + document.forms[0].name;
url += "&id="+ id;
url += "&m=" + mode;
url += "&eid="+ eid;

var width = 250;
var height = 150;

var str = "";
str += "toolbars=n o,";
str += "status=no, ";
str += "resizable= 0,";
str += "scrollbars=0," ;
str += "width=" + width + ",";
str += "height=" + height + ",";

if ( window.screen ) {
var ah = screen.availHei ght - 30;
var aw = screen.availWid th - 10;

var xc = ( aw - width ) / 2;
var yc = ( ah - height ) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}

PopUp = window.open( url, 'EmailList', str );
}

function CloseChildWindo w(id, postBack)
{
debugger;
PopUp.close();
if (postBack)
__doPostBack(id ,'');
}

The code I have in Popup.aspx is

<script language="JavaS cript">
<!--

window.onload=w indow_onload();

function window_onload() {
window.opener.C loseChildWindow ('a', true);
}

//-->
</script>

Any help would be appreciated! Thanks.

.

Nov 17 '05 #8
Hi Mark,
Would the child window posting back to the server cause
the parent-child reference variable to be lost?
When you use the JavaScript window.open() method, the window object that
refers to the child window is in the parent window's HTML document. If the
parent window posts back, the reference is lost, as the parent window's
document is unloaded. If the child window posts back, the document in the
child window changes, and all memory in that document is lost, but as the
reference to the child window is in the parent window's document, it isn't
lost.

The child window can close itself without any problems.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.

"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:08******** *************** *****@phx.gbl.. . Kevin,

Thanks for the explanation. I am not sure whether
this applies or not, but I am looking to close the child
window after the child window posts back (not the
parent). The intended order of events:

1) User presses linkbutton in child window
2) Child window posts pack to server
3) Child window closes
4) Parent window posts back to server

Would the child window posting back to the server cause
the parent-child reference variable to be lost?

-----Original Message-----
If I interpret your JavaScript correctly, it looks like

your script is
supposed to close the window AFTER a PostBack. The page

in the browser after
a postback is not the same page that was in the browser

BEFORE the PostBack.
It may be the same HTML document, but the memory of the

new instance is not
the same as the memory of the old - HTTP is stateless.

To the browser, it is
a whole new page. Therefore, there is no longer a window

object reference in
memory pointing to the child window. Using the same

variable name does
nothing.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.
"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:07******* *************** ******@phx.gbl. ..
Hello,

I am attempting to do something very simple. I have a page MainPage.aspx and a popup window Popup.aspx. When users click on the linkbutton in the popup window I am
looking to do some server side processing in Popup.aspx, then have the popup window close, and have the
MainPage.aspx do a postback to the server. But I am
having trouble determining what client side javascript
Popup.aspx should render after it does its server side
processing. Are there any samples or articles tha
demonstrate how to do this? I keep getting "Object
Expected" in CloseChildWindo w():

script.js
-------------------------------
var PopUp;

// Called from MainPage.aspx
function OpenPopup(id, mode, eid)
{
var url = "";
url += "Controls/PopUp.aspx?";
url += "FormName=" + document.forms[0].name;
url += "&id="+ id;
url += "&m=" + mode;
url += "&eid="+ eid;

var width = 250;
var height = 150;

var str = "";
str += "toolbars=n o,";
str += "status=no, ";
str += "resizable= 0,";
str += "scrollbars=0," ;
str += "width=" + width + ",";
str += "height=" + height + ",";

if ( window.screen ) {
var ah = screen.availHei ght - 30;
var aw = screen.availWid th - 10;

var xc = ( aw - width ) / 2;
var yc = ( ah - height ) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}

PopUp = window.open( url, 'EmailList', str );
}

function CloseChildWindo w(id, postBack)
{
debugger;
PopUp.close();
if (postBack)
__doPostBack(id ,'');
}

The code I have in Popup.aspx is

<script language="JavaS cript">
<!--

window.onload=w indow_onload();

function window_onload() {
window.opener.C loseChildWindow ('a', true);
}

//-->
</script>

Any help would be appreciated! Thanks.

.

Nov 17 '05 #9
Mark,

The Javascript button you clicked on is not the actual code library. That
was a link to the javascript project I've built which contains javascripts I
use over and over. All the other javascripts and other code I haven't made
into classes is in the datagrid on the main code library page.

When you click the "code library" link on the site in the main area of the
page is a datagrid. Above the datagrid is a search text box and button. Do
your search there. Or page through the datagrid.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:03******** *************** *****@phx.gbl.. .
Justin,

I downloaded the code from your site (which is very
helpful stuff) but could not find the sample you referred
to (I actually didn't find any samples). I also didn't
find a search function on your site. Is the function
you're referring to in the Javascript namespace? Where
might I find the samples you mentioned? Thanks!
-----Original Message-----
Mark,

I have some code for just this at my website,

www.aboutfortunate.com. Just
search the code library for: "refresh main window" or

something similar. The
title of the sample you want is:

Close a popup window and refresh the parent window

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Mark Fox" <in**@solelsoft ware.com> wrote in message
news:07******* *************** ******@phx.gbl. ..
Hello,

I am attempting to do something very simple. I have a page MainPage.aspx and a popup window Popup.aspx. When users click on the linkbutton in the popup window I am
looking to do some server side processing in Popup.aspx, then have the popup window close, and have the
MainPage.aspx do a postback to the server. But I am
having trouble determining what client side javascript
Popup.aspx should render after it does its server side
processing. Are there any samples or articles tha
demonstrate how to do this? I keep getting "Object
Expected" in CloseChildWindo w():

script.js
-------------------------------
var PopUp;

// Called from MainPage.aspx
function OpenPopup(id, mode, eid)
{
var url = "";
url += "Controls/PopUp.aspx?";
url += "FormName=" + document.forms[0].name;
url += "&id="+ id;
url += "&m=" + mode;
url += "&eid="+ eid;

var width = 250;
var height = 150;

var str = "";
str += "toolbars=n o,";
str += "status=no, ";
str += "resizable= 0,";
str += "scrollbars=0," ;
str += "width=" + width + ",";
str += "height=" + height + ",";

if ( window.screen ) {
var ah = screen.availHei ght - 30;
var aw = screen.availWid th - 10;

var xc = ( aw - width ) / 2;
var yc = ( ah - height ) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}

PopUp = window.open( url, 'EmailList', str );
}

function CloseChildWindo w(id, postBack)
{
debugger;
PopUp.close();
if (postBack)
__doPostBack(id ,'');
}

The code I have in Popup.aspx is

<script language="JavaS cript">
<!--

window.onload=w indow_onload();

function window_onload() {
window.opener.C loseChildWindow ('a', true);
}

//-->
</script>

Any help would be appreciated! Thanks.

.

Nov 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5773
by: bbxrider | last post by:
i'm new to javascript but have programmed lots in vb, cobol, basic, etc jscript seems much more object oriented to me, much more direct manipulation of properties at least, than vb, don't know about methods yet i'm having trouble locating property 'trees' so to speak, at least for html/web and jscript objects like in this code: function...
1
1799
by: bj | last post by:
I have several pages that I want to allow the same kind of activity, so my basic question is how best to structure the interaction (and I have one related subquestion as well). Scenario: The user clicks a hyperlink and opens a new window in which there is a bit of explanatory text. This text will be different for every link. In addition,...
2
1474
by: Eli | last post by:
Hi gurus, My question is about exchanging data on a basic HTML page between a JavaScript piece of code and a Java client-side <APPLET> residing on the same webpage. To demonstrate the idea of data encription at the client side to students my idea is to build a simple <FORM> on the webpage with 2 text fields and a submit button. The...
17
2401
by: blueapricot416 | last post by:
This is a very basic question -- but I can't find the answer after looking for 20 minutes. If you code something like: function set_It() { setTimeout('Request_Complete("apple", -72)',5000) } and call it 50 times, will it cause problems because you are not
6
1374
by: John Bailo | last post by:
http://www.informationweek.com/software/showArticle.jhtml?articleID=196600515 Developers Embrace Java, Drop Visual Basic "Developers have abandoned Microsoft's Visual Basic in droves during the last six months, and they're using Java more than any other development language, according to a recently published survey."
2
1507
by: craig.burrell | last post by:
I'm not a Javascript programmer, and I have a basic question about how scripts may make use of libraries in Javascript. I thank everyone for humouring me. Do all of the libraries required by a script have to reside in the host environment, or may a custom library be bundled with the script itself? I ask because I am trying to assess the...
43
2370
by: Bill H | last post by:
25 years ago every computer came with some form of Basic interpreter so you could use yoru computer without having to buy more software. Is Javascript (teamed with HTML) set to become the new Basic, where anyone with a computer can start writing code without having to purchase any expensive languages? Bill H
7
1718
by: MikeB | last post by:
Hello All, I am new to ajax and wanted to start by trying something simple. I have a web form with an updatepanel and then inside the update panel I have a listbox. Then outside of the updatepanel I have a button. In my buttons click event in the cs / code behind, I have a loop that just inserts items in the listbox. My question is, once I...
12
1620
by: sheldonlg | last post by:
This is kind of basic, and I googled but didn't find much help. I have an array of text element fields. They all need to have the same name. So, let the name be either all with a or build individually as a, a, a, etc. The brackets need to be there because I will obtaining the values of them as an array using $_POST{'a'] in php. What I...
7
17931
by: rmurgia | last post by:
When a variable is created using Javascript, should it then be able to be read immediately using embedded VB code or does the submit command have to be entered or are the variables between javascript, visual basic, and vbscript non-interchangable? I created the following code: <script language="javascript"> function question(){ ...
0
7915
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8205
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3872
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.