473,320 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Can't use some javascript from a .js file...

OK, I've narrowed down the problem. This works when in the aspx page

<script type="text/javascript" >
function btnFirst_Click()
{
alert("Hello");
alert(document.getElementById("<%=LBFacilities.Cli entID%>").options.length);
return false;
}
</script>

But when I put this in a .js file, I get the first "Hello", but the second
statement fails. I've put the
<script type="text/javascript" src="Facilities.js" ></script>

both on top and at the bottom of the aspx page. No luck.

How do I get this to work from a .js file?

Thanks.

--
Matthew.Wells
Ma***********@FirstByte.net
Jun 27 '08 #1
9 2201
OK, I've narrowed down the problem. This works when in the aspx page

<script type="text/javascript" >
function btnFirst_Click()
{
alert("Hello");
alert(document.getElementById("<%=LBFacilities.Cli entID%>").options.length);
return false;
}
</script>

But when I put this in a .js file, I get the first "Hello", but the second
statement fails.
What do you mean 'fails'? How does it fail? Can you post a link?

-Darrel
Jun 27 '08 #2
Hi,

That's because LBFacilities controls exists on aspx page, and on separate js
file it (<%=... %>) doesn't get through ASP.NET's processing and therefore
is returned literally what's on the js file

e.g js file contains *literally*

....
alert(document.getElementById("<%=LBFacilities.Cli entID%>").options.length);
....

If you use it that way, you need to set the LBFacilities somehow as argument
or on global js variable on the page which the js file references (makes js
though reliable on the existence of the control)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:K8******************************@comcast.com. ..
OK, I've narrowed down the problem. This works when in the aspx page

<script type="text/javascript" >
function btnFirst_Click()
{
alert("Hello");
alert(document.getElementById("<%=LBFacilities.Cli entID%>").options.length);
return false;
}
</script>

But when I put this in a .js file, I get the first "Hello", but the second
statement fails. I've put the
<script type="text/javascript" src="Facilities.js" ></script>

both on top and at the bottom of the aspx page. No luck.

How do I get this to work from a .js file?

Thanks.

--
Matthew.Wells
Ma***********@FirstByte.net

Jun 27 '08 #3
Teemu is right.
To put it another way, the .js file is run entirely on the client side by
the browser. The browser doesn't know how to interpret the server side
script you have inserted in your second alert statement.
("<%=LBFacilities.ClientID%>")
Server script like that only works in an ASPX page because that is processed
by the server before it is sent to the browser.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net
"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:K8******************************@comcast.com. ..
OK, I've narrowed down the problem. This works when in the aspx page

<script type="text/javascript" >
function btnFirst_Click()
{
alert("Hello");
alert(document.getElementById("<%=LBFacilities.Cli entID%>").options.length);
return false;
}
</script>

But when I put this in a .js file, I get the first "Hello", but the second
statement fails. I've put the
<script type="text/javascript" src="Facilities.js" ></script>

both on top and at the bottom of the aspx page. No luck.

How do I get this to work from a .js file?

Thanks.

--
Matthew.Wells
Ma***********@FirstByte.net
Jun 27 '08 #4
so how do I do this? I tried putting the variable at the top of the .js
dile, at the top of the aspx file and using registerclientscriptblock.

Any suggestions?

Thanks.

"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:Ov**************@TK2MSFTNGP03.phx.gbl...
Hi,

That's because LBFacilities controls exists on aspx page, and on separate
js file it (<%=... %>) doesn't get through ASP.NET's processing and
therefore is returned literally what's on the js file

e.g js file contains *literally*

...
alert(document.getElementById("<%=LBFacilities.Cli entID%>").options.length);
...

If you use it that way, you need to set the LBFacilities somehow as
argument or on global js variable on the page which the js file references
(makes js though reliable on the existence of the control)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:K8******************************@comcast.com. ..
>OK, I've narrowed down the problem. This works when in the aspx page

<script type="text/javascript" >
function btnFirst_Click()
{
alert("Hello");
alert(document.getElementById("<%=LBFacilities.Cl ientID%>").options.length);
return false;
}
</script>

But when I put this in a .js file, I get the first "Hello", but the
second statement fails. I've put the
<script type="text/javascript" src="Facilities.js" ></script>

both on top and at the bottom of the aspx page. No luck.

How do I get this to work from a .js file?

Thanks.

--
Matthew.Wells
Ma***********@FirstByte.net


Jun 27 '08 #5
For example:

Have this on your page:

var lb = document.getElementById('<%=LBFacilities.ClientID% >');

And following in your js file (which I suggest that you registrer with
Page.ClientScript.RegisterStartupScript so that setting the variable would
be *before* the script using the variable in page source.

function btnFirst_Click()
{
alert("Hello");
alert(lb.options.length);
return false;
}
</script>

If one thinks a bit further, say you have a large client-side library, it
would be wiser to use registration mechanism.

For example, your library would contain (e.g the js)

var lb = null;

function registerLb(lbToRegister)
{
lb = lbToregister;
}

And again your page would use:

<script>registerLb(document.getElementById('<%=LBF acilities.ClientID%>'));</script>

somewhere. And library would use it:

function btnFirst_Click()
{
alert("Hello");
if(lb != null)
alert(lb.options.length);
return false;
}

or something like that. Of course it probably isn't that easy if you think
scenarios that multiple controls etc needs to be registered(when you'd
probably have array of them instead of one variable). On the other hand,
this was quite simple case when just the variable would work just fine.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net


"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:7f******************************@comcast.com. ..
so how do I do this? I tried putting the variable at the top of the .js
dile, at the top of the aspx file and using registerclientscriptblock.

Any suggestions?

Thanks.

"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:Ov**************@TK2MSFTNGP03.phx.gbl...
>Hi,

That's because LBFacilities controls exists on aspx page, and on separate
js file it (<%=... %>) doesn't get through ASP.NET's processing and
therefore is returned literally what's on the js file

e.g js file contains *literally*

...
alert(document.getElementById("<%=LBFacilities.Cl ientID%>").options.length);
...

If you use it that way, you need to set the LBFacilities somehow as
argument or on global js variable on the page which the js file
references (makes js though reliable on the existence of the control)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:K8******************************@comcast.com ...
>>OK, I've narrowed down the problem. This works when in the aspx page

<script type="text/javascript" >
function btnFirst_Click()
{
alert("Hello");
alert(document.getElementById("<%=LBFacilities.C lientID%>").options.length);
return false;
}
</script>

But when I put this in a .js file, I get the first "Hello", but the
second statement fails. I've put the
<script type="text/javascript" src="Facilities.js" ></script>

both on top and at the bottom of the aspx page. No luck.

How do I get this to work from a .js file?

Thanks.

--
Matthew.Wells
Ma***********@FirstByte.net



Jun 27 '08 #6
I'm afraid this didn't work. I put this at the top of the aspx page:

<script type="text/javascript" >

var LB = document.getElementById("<% = LBFacilities.ClientID %>");

</script>

....which seemed to achieve the desired effect because this is what was in
the page source:

<script type="text/javascript" >
var LB =
document.getElementById("ctl00_ContentPlaceHolder1 _LBFacilities");
</script>

but the code still only does the first alert and fails on the second.

Like I said before, the code works if it's all in the aspx page. What do I
need to do to get it to work in the .js file? Using the RegisertLB didn't
work either.

"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:er**************@TK2MSFTNGP02.phx.gbl...
For example:

Have this on your page:

var lb = document.getElementById('<%=LBFacilities.ClientID% >');

And following in your js file (which I suggest that you registrer with
Page.ClientScript.RegisterStartupScript so that setting the variable would
be *before* the script using the variable in page source.

function btnFirst_Click()
{
alert("Hello");
alert(lb.options.length);
return false;
}
</script>

If one thinks a bit further, say you have a large client-side library, it
would be wiser to use registration mechanism.

For example, your library would contain (e.g the js)

var lb = null;

function registerLb(lbToRegister)
{
lb = lbToregister;
}

And again your page would use:

<script>registerLb(document.getElementById('<%=LBF acilities.ClientID%>'));</script>

somewhere. And library would use it:

function btnFirst_Click()
{
alert("Hello");
if(lb != null)
alert(lb.options.length);
return false;
}

or something like that. Of course it probably isn't that easy if you think
scenarios that multiple controls etc needs to be registered(when you'd
probably have array of them instead of one variable). On the other hand,
this was quite simple case when just the variable would work just fine.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net


"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:7f******************************@comcast.com. ..
>so how do I do this? I tried putting the variable at the top of the .js
dile, at the top of the aspx file and using registerclientscriptblock.

Any suggestions?

Thanks.

"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:Ov**************@TK2MSFTNGP03.phx.gbl...
>>Hi,

That's because LBFacilities controls exists on aspx page, and on
separate js file it (<%=... %>) doesn't get through ASP.NET's processing
and therefore is returned literally what's on the js file

e.g js file contains *literally*

...
alert(document.getElementById("<%=LBFacilities.C lientID%>").options.length);
...

If you use it that way, you need to set the LBFacilities somehow as
argument or on global js variable on the page which the js file
references (makes js though reliable on the existence of the control)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:K8******************************@comcast.co m...
OK, I've narrowed down the problem. This works when in the aspx page

<script type="text/javascript" >
function btnFirst_Click()
{
alert("Hello");
alert(document.getElementById("<%=LBFacilities. ClientID%>").options.length);
return false;
}
</script>

But when I put this in a .js file, I get the first "Hello", but the
second statement fails. I've put the
<script type="text/javascript" src="Facilities.js" ></script>

both on top and at the bottom of the aspx page. No luck.

How do I get this to work from a .js file?

Thanks.

--
Matthew.Wells
Ma***********@FirstByte.net



Jun 27 '08 #7
Can you show the code you register the call with?

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:rv******************************@comcast.com. ..
I'm afraid this didn't work. I put this at the top of the aspx page:

<script type="text/javascript" >

var LB = document.getElementById("<% = LBFacilities.ClientID %>");

</script>

...which seemed to achieve the desired effect because this is what was in
the page source:

<script type="text/javascript" >
var LB =
document.getElementById("ctl00_ContentPlaceHolder1 _LBFacilities");
</script>

but the code still only does the first alert and fails on the second.

Like I said before, the code works if it's all in the aspx page. What do
I need to do to get it to work in the .js file? Using the RegisertLB
didn't work either.

"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:er**************@TK2MSFTNGP02.phx.gbl...
>For example:

Have this on your page:

var lb = document.getElementById('<%=LBFacilities.ClientID% >');

And following in your js file (which I suggest that you registrer with
Page.ClientScript.RegisterStartupScript so that setting the variable
would be *before* the script using the variable in page source.

function btnFirst_Click()
{
alert("Hello");
alert(lb.options.length);
return false;
}
</script>

If one thinks a bit further, say you have a large client-side library, it
would be wiser to use registration mechanism.

For example, your library would contain (e.g the js)

var lb = null;

function registerLb(lbToRegister)
{
lb = lbToregister;
}

And again your page would use:

<script>registerLb(document.getElementById('<%=LB Facilities.ClientID%>'));</script>

somewhere. And library would use it:

function btnFirst_Click()
{
alert("Hello");
if(lb != null)
alert(lb.options.length);
return false;
}

or something like that. Of course it probably isn't that easy if you
think scenarios that multiple controls etc needs to be registered(when
you'd probably have array of them instead of one variable). On the other
hand, this was quite simple case when just the variable would work just
fine.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net


"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:7f******************************@comcast.com ...
>>so how do I do this? I tried putting the variable at the top of the .js
dile, at the top of the aspx file and using registerclientscriptblock.

Any suggestions?

Thanks.

"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:Ov**************@TK2MSFTNGP03.phx.gbl...
Hi,

That's because LBFacilities controls exists on aspx page, and on
separate js file it (<%=... %>) doesn't get through ASP.NET's
processing and therefore is returned literally what's on the js file

e.g js file contains *literally*

...
alert(document.getElementById("<%=LBFacilities. ClientID%>").options.length);
...

If you use it that way, you need to set the LBFacilities somehow as
argument or on global js variable on the page which the js file
references (makes js though reliable on the existence of the control)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:K8******************************@comcast.c om...
OK, I've narrowed down the problem. This works when in the aspx page
>
<script type="text/javascript" >
function btnFirst_Click()
{
alert("Hello");
alert(document.getElementById("<%=LBFacilities .ClientID%>").options.length);
return false;
}
</script>
>
But when I put this in a .js file, I get the first "Hello", but the
second statement fails. I've put the
<script type="text/javascript" src="Facilities.js" ></script>
>
both on top and at the bottom of the aspx page. No luck.
>
How do I get this to work from a .js file?
>
Thanks.
>
--
Matthew.Wells
Ma***********@FirstByte.net
>




Jun 27 '08 #8
I've simplified evetything into a small project:

Here's default.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript">
var LB = document.getElementById("<%=LBFacilities.ClientID% >");
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ListBox ID="LBFacilities" runat="server"
CausesValidation="True"
DataTextField="FacName" DataValueField="FacID"
EnableViewState="False"
Height="82px" Width="108px"></asp:ListBox><br />
<asp:Button ID="btnFirst" runat="server" Text="btnFirst" />
</div>
</form>
</body>
</html>

Here's MyTest.js

function btnFirst_Click()
{
alert("Hello");
alert(LB.options.length);
//alert(document.getElementById("<%=LBFacilities.Cli entID%>").options.length);
return false;
}

....and here's default.aspx.cs

using System;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Page.RegisterStartupScript("MyScript",
"<script type=\"text/javascript\"
src=\"MyTest.js\" >\n" +
"</script>\n\n");
if (!this.IsPostBack)
{
btnFirst.OnClientClick = "return btnFirst_Click()";
LBFacilities.Items.Add("Red");
LBFacilities.Items.Add("Green");
LBFacilities.Items.Add("Blue");
}
}
}

I've played with different variations on setting the LB variable including
doing it from the .cs - RegisterClientScript, on page_init, Load and
prerender. The basic problem seems to be that once the javascriopt is moved
to a separate file, it can't reference the html controls anymore -
getElementByID stops working.

"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:Ot**************@TK2MSFTNGP02.phx.gbl...
Can you show the code you register the call with?

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:rv******************************@comcast.com. ..
>I'm afraid this didn't work. I put this at the top of the aspx page:

<script type="text/javascript" >

var LB = document.getElementById("<% = LBFacilities.ClientID %>");

</script>

...which seemed to achieve the desired effect because this is what was in
the page source:

<script type="text/javascript" >
var LB =
document.getElementById("ctl00_ContentPlaceHolder 1_LBFacilities");
</script>

but the code still only does the first alert and fails on the second.

Like I said before, the code works if it's all in the aspx page. What do
I need to do to get it to work in the .js file? Using the RegisertLB
didn't work either.

"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:er**************@TK2MSFTNGP02.phx.gbl...
>>For example:

Have this on your page:

var lb = document.getElementById('<%=LBFacilities.ClientID% >');

And following in your js file (which I suggest that you registrer with
Page.ClientScript.RegisterStartupScript so that setting the variable
would be *before* the script using the variable in page source.

function btnFirst_Click()
{
alert("Hello");
alert(lb.options.length);
return false;
}
</script>

If one thinks a bit further, say you have a large client-side library,
it would be wiser to use registration mechanism.

For example, your library would contain (e.g the js)

var lb = null;

function registerLb(lbToRegister)
{
lb = lbToregister;
}

And again your page would use:

<script>registerLb(document.getElementById('<%=L BFacilities.ClientID%>'));</script>

somewhere. And library would use it:

function btnFirst_Click()
{
alert("Hello");
if(lb != null)
alert(lb.options.length);
return false;
}

or something like that. Of course it probably isn't that easy if you
think scenarios that multiple controls etc needs to be registered(when
you'd probably have array of them instead of one variable). On the other
hand, this was quite simple case when just the variable would work just
fine.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net


"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:7f******************************@comcast.co m...
so how do I do this? I tried putting the variable at the top of the
.js dile, at the top of the aspx file and using
registerclientscriptblock.

Any suggestions?

Thanks.

"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:Ov**************@TK2MSFTNGP03.phx.gbl...
Hi,
>
That's because LBFacilities controls exists on aspx page, and on
separate js file it (<%=... %>) doesn't get through ASP.NET's
processing and therefore is returned literally what's on the js file
>
e.g js file contains *literally*
>
...
alert(document.getElementById("<%=LBFacilities .ClientID%>").options.length);
...
>
If you use it that way, you need to set the LBFacilities somehow as
argument or on global js variable on the page which the js file
references (makes js though reliable on the existence of the control)
>
>
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
>
>
"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:K8******************************@comcast. com...
>OK, I've narrowed down the problem. This works when in the aspx page
>>
><script type="text/javascript" >
>function btnFirst_Click()
>{
>alert("Hello");
>alert(document.getElementById("<%=LBFacilitie s.ClientID%>").options.length);
>return false;
>}
></script>
>>
>But when I put this in a .js file, I get the first "Hello", but the
>second statement fails. I've put the
><script type="text/javascript" src="Facilities.js" ></script>
>>
>both on top and at the bottom of the aspx page. No luck.
>>
>How do I get this to work from a .js file?
>>
>Thanks.
>>
>--
>Matthew.Wells
>Ma***********@FirstByte.net
>>
>
>




Jun 27 '08 #9
I've found a workaround. I use RegisterClientScriptBlock on the .cs
page_load event and assign the lb.clientid string value to a variable. then
that string value is usable in the .js file and I can refer to the lstbox
then.

in the .cs file...

Page.RegisterClientScriptBlock("ClientIDs",
"<script language='javascript\'>\n" +
" var LBClientID = \"" + LBFacilities.ClientID + "\";\n" +
"</script>\n\n");

in the .js file...

var LB = document.getElementById(LBClientID);

Now I can refer to LB.options.length.


"Matthew Wells" <Ma***********@FirstByte.netwrote in message
news:K8******************************@comcast.com. ..
OK, I've narrowed down the problem. This works when in the aspx page

<script type="text/javascript" >
function btnFirst_Click()
{
alert("Hello");
alert(document.getElementById("<%=LBFacilities.Cli entID%>").options.length);
return false;
}
</script>

But when I put this in a .js file, I get the first "Hello", but the second
statement fails. I've put the
<script type="text/javascript" src="Facilities.js" ></script>

both on top and at the bottom of the aspx page. No luck.

How do I get this to work from a .js file?

Thanks.

--
Matthew.Wells
Ma***********@FirstByte.net

Jun 27 '08 #10

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

Similar topics

26
by: Don | last post by:
I'm writing an html page with some JavaScript that reads a web page into a client-side temp file, then reformats it, then submits that same file as a URL to the browser for display, via...
21
by: ryanmhuc | last post by:
I know the subject might be confusing. I am no beginner with javascript but I haven't been able to figure out how to get the javascript file name from code inside the file. So you have an HTML...
10
by: VictorG | last post by:
Hello, I am new to JS and am trying to add some HTML into a JS function. So that when called the script as well as the HTML will be invoked. Is there some type of embed mechanism, sort of the...
4
by: Mark Miller | last post by:
I've been trying to execute a javascript function just before submit on a form that contains an <input type="file"> input field and it isn't working. The reason I want to do this is the end users...
14
by: Rich | last post by:
I am converting my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 (.NET v2.0.50727). The entire solution uses serveral technologies - Windows Server 2003 (AD, SQL Server 2000, IIS,...
9
by: Mahernoz | last post by:
Hello Friends, The JavaScript File exmplmenu_var.js contains the code... (for the sake of brevity i am showing only that code which needs to be changed) I am actually developing a menu using...
1
by: wenijah | last post by:
Hi everyone! First thank you for reading this post and yes, you probably already see that kind of topic title somewhere but the problem I've got today might be different than the 100 topics I've...
3
by: wbazarin | last post by:
I am very new using javascript and I faced a problem that with my expertise I cannot solve. I wrote a small html file that handle a vertical menu. I wrote a function to show the menu correctly using...
3
by: jackson.rayne | last post by:
Hello, Another newbie question here. Let me explain my situation first. I have bought a 3rd party tool that runs a PHP script and gives me some HTML code which I can directly use in my...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.