Server-side code...I'm pulling data from the database (using ASP) then building my image source tag based on data in the database to display the images. I'm not making any updates to the database (yet), just pulling the information.
I hope I'm answering your question(s) correctly...I've been...
Hi Dan!
More than likely I am confusing server-side and client-side JS, but I'm just not sure how to go about doing this. [ponder] My database is on the server.
Thanks for your help!
Thank you both for your replies!
cmartin75,
Why would I change my include to a virtual include? I'm not sure I understand.
tyutghf,
The extension of the main page is .asp.
I don't really have my images in the database but just the image names (pic1.jpg). Depending on which id is passed to my page, the SQL statement selects all the image names for that id. I put an onload event in my body tag to call the following function, but the javascript seems to fire before...
Hello!
I'm pulling data from a database and would like to make 2 columns instead of a scrolling list. I've done some searching on the internet and either I'm not searching the correct terms or else I'm the only one that doesn't know how to do this! :) Some of the scripts I've found put the...
Hello!
I came across the thread - thread333-1225701 - which sounded like the issue my customer is having. I have an include <!-- #Include file="includes/div_tags.htm" --> in my .asp page, and when my customer views the web page on his computer (not through the internet but local IIS) he does...
No problem...that's why we're here to help!
A couple of things:
1)you need 2 form tags, one for the top form (form1), and one for the bottom (form2)
2)when you set the values for form2, make sure you specify that form name (you had form1 instead of form2)...
//your onChange function will grab the values of the fields in the top form:
function populateMe() {
fname = document.form1.firstname.value
lname = document.form1.lastname.value
fullname = fname + " " + lname
address1 = document.form1.address1.value
etc...
//Then set the fields in the...
Is it possible to change the font-family value in a css tag, depending on which browser is used to view the page? Netscape doesn't support the font I would like to use, and the default font looks pretty bad. It looks great in IE!
Thanks in advance!
Wow! Thanks for your help, Tarwn! I still haven't figured out the "why", but it will have to wait until Monday...just like the DMV! :) I hope you have a good weekend!
Thanks again!
Hi Tarwn! Thanks for your reply! I hope you're not waiting too long at the DMV...if you're in VA, good luck!!! :)
For some reason, and we still haven't figured out why, when I put String() around the rs("Total AQ") in the if statements, the variables hold their values. Is this a lazy work...
I'm trying to pull data from a recordset, but when I assign values from the recordset to variables, then go to print out the variable, I get nothing! It seems once I exit my while statement, the variables return a blank. Please see code snipet below:
sSQL = "Select art_quality...
Hello! I've search through the Archives for related issues, but I haven't found anything related to what I'm experiencing. I have a logo in a <div> tag, placed on top of another image(s). The logo needs to be transparent b/c the image underneath will actually change as the page is refreshed...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.