|
Doesn't the usual code work?
---
b { font-weight: normal; }
|
|
|
|
|
I i hope somebody could help me. I have a page with checkboxes whihc is linked to a database i need to be able to show the boxes that have been checked already, heres my code so far... (problem im having is all the checked information is brought in from one database record.
<br />
<br />
<% sometext2 = rsUser2("location")<br />
sometext = sometext2<br />
<br />
strs = split(sometext,",") <br />
if ubound(strs) >= 0 then <br />
one = strs(0) <br />
else <br />
response.write "" <br />
end if <br />
<br />
strs2 = split(sometext,",") <br />
if ubound(strs2) >= 1 then <br />
two = strs2(1) <br />
else <br />
response.write "" <br />
end if <br />
%><br />
<br />
<%<br />
If one = "Goole and Howdenshire<br>" then<br />
<br />
checking1 = "checked" <br />
<br />
end if<br />
<br />
If two = "Market Weighton and Pocklington<br>" then<br />
<br />
checking2 = "checked" <br />
<br />
end if<br />
%><br />
<br />
This works fines for checking the first box (Goole...) but the other doesnt work.
Hope ya'll can help thx
|
|
|
|
|
As usual, storing more than one value in a field is rarely a good idea.
As you don't know at what position in the array any of the strings will end up, you have to loop through the array to look for the strings.
---
b { font-weight: normal; }
|
|
|
|
|
hi! i need to make a webpage that transmit video from a webcam and audio from a microphone
any help on how can i start
thanks!
|
|
|
|
|
Hi all,
Can anybody tell me what is RSS? How shall we use in our own website development?
Thanks in Advance for all your response...
Jaya
|
|
|
|
|
really simple syndication[^]
You might use it, for example, to notify your viewers that something on your site has been updated.
Jon Sagara
As you may presently yourself be fully made aware of, my grammar sucks.
Sagara.org | Blog | My Articles
J.O.N.S.A.G.A.R.A.: Journeying Operational Neohuman Skilled in Assassination, Galactic Analysis and Rational Astrophysics
|
|
|
|
|
Ya Ofcourse.
But how shall we use it in our website...
Shall we use this for our own news site? will it be efficient?
Do we have to create new dynamic page everytime we update RSS?
Please clear my doubts,
Thanks in Advance,
Jaya
|
|
|
|
|
Check out http://www.w3schools.com/rss/default.asp
|
|
|
|
|
Hi,
Quick question. I ran Visual Studio 2005 BETA for a while and found the webpartz function where you can create a site like MSN. Is there a way to create my own web partz as I am back on .NET 2003 and this version does'nt have this function.
Thank you
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
Welcome to 'we add new features with each version so people will keep buying them'
ASP.NET has heaps of stuff not in VS2003.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Where can I view these "Stuff" to buy?
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
I'm talking about VS2005. The prices are on the Microsoft site, somewhere.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi,
I like this cool timecount feature in this board.
Any hints how it is coded?
|
|
|
|
|
(In pseudo code, of course)
DateTimeRightNow - PostDateTime
And then formatted accordingly.
Jon Sagara
As you may presently yourself be fully made aware of, my grammar sucks.
Sagara.org | Blog | My Articles
J.O.N.S.A.G.A.R.A.: Journeying Operational Neohuman Skilled in Assassination, Galactic Analysis and Rational Astrophysics
|
|
|
|
|
I have installed an COM object on an client machine. Then I am using an CAB file containing an OCX (with references to the COM Object) on the web to use the installed COM object.
When the Web page is loading I get this message
IE has blocked this site from using an ActiveX in an unsafe manner. As a result, this page may not display correctly
I have signed the CAB and OCX file, and the OCX is marked as safe and for initializing.
I am using Javascript to access the ocx from the web
Spaz
|
|
|
|
|
when a website is minimized to view
another website , the minimzed one pops back.This doesnt happen always. Why is this happening....
Pls give me the information & if possible a solution to prevent this from happening.
Thanx........
smitha
|
|
|
|
|
Hi,
I need to find out how to impliment Search functionality on a website, using SQL 2000 and C#. Basically "How do I start setting up the querries in SQL to start searching for words?"
Thank a Million!
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
Try this SQL:
SELECT productName FROM tProducts WHERE prodName LIKE 'fish%'
Returns:
productName
--------
fishy coke
fishfinder
fish
fishermans friend
Change searchcritera 'fish' to your variable.
GL /x
|
|
|
|
|
Hello, I am developing a Web project whish uses HTML as front-end and JSP as back-end(middleware). I want to know how can i access USB from JSP.
Thanks
|
|
|
|
|
Do you mean Universal Serial Bus? or some other programming Jargon?
What exactly are you trying to achieve here?
|
|
|
|
|
Hi,
The array(0) is foo when I type it out trough DOM so why cant this work?
Ive tried a lot, please help!
[code]
function handleResponse() {
if(http.readyState == 4){
var response = http.responseText;
var update = new Array();
if(response.indexOf('|' != -1)) {
update = response.split('|');
document.getElementById(update[0]).innerHTML = update[1]; //not working!
//document.getElementById('foo').innerHTML = update[1];//works!
}
}
}
[/code]
|
|
|
|
|
Why are you creating an array that you don't use?
response.indexOf('|' != -1)
should be
response.indexOf('|') != -1
---
b { font-weight: normal; }
|
|
|
|
|
Hi Guffa,
Im getting this XmlHttpResonse "foo|This is foo". That was my intention anyway. Turns out I'm getting a lot of other stuff to so that was my problem, array(0).length was 250 not 3 (foo).
Btw, seems like there is no difference in those two coding techniques for indexOf, they both work, but yours is more good looking!
Thanks! /x
|
|
|
|
|
xaphod wrote:
Btw, seems like there is no difference in those two coding techniques for indexOf, they both work, but yours is more good looking!
Are you kidding? My code works, the other doesn't.
The expression '|' != -1 will always evalute to the value true, as the string '|' always will be different from the number -1. As the indexOf method uses a string parameter, the boolean value true will be converted to the string 'true'. The call response.indexOf('|' != -1) therefore does exactly the same as response.indexOf('true') . Unless the string response starts with the letters 'true', the call will always return a non-zero value.
---
b { font-weight: normal; }
|
|
|
|
|
You're right!
Thanks for sharing!
Best regards /xaphod
|
|
|
|