What th' heck am I doin' wrong?!?
Revised script in order to keep it REAL SIMPLE. Still, Nada!
<head>
<script language="JavaScript" type="text/javascript">
function whichTest() {
var rank = document.form1.getElementById('rank').option.selected.value
if(rank == "Private")
{
alert("OK!")...
I've done it before, but now I'm bumbling.
Need to change text field based on option selected in list menu.
What have I done wrong? Please, need quick answer!
<script language="JavaScript" type="text/javascript">
function whichTest() {
if(document.getElementById('rank').option.selected.value =...
I am trying to create a similar events calendar. The key feature of the calendar would be user administration.
The calendar would retrieve the user added event data from a database and display it in the correlating calendar day. This maybe better developed in .NET, but I'm not sure the...
Great site! Thanks.
Still didn't find what I was looking for though. Perhaps I overlooked it.
My calendar will need a back-end editable database formated simply enough for end users, so that they can administer (edit, add) themselves.
Hopefully the calendar days will read the specified...
I’ve recently purchased the Dreamweaver Extension, Visual Calendar http://www.topdreamweaverextensions.com/dreamweaver-visual-calendar
After employing it in my website, I was informed by my SysAdmin that PHP was not permitted on the server. I particularly need a simple UI for user...
CODE URL:
http://users.hargray.com/mikemedia/
I appreciate everyone's help.
I've commented out lines: 117 and portions of 128
Lines 108 - 116 truly puzzle me. They should work.
The ultimate goal is to fill three fields (date, totalScore, and passFail) AND write the values to a database...
Thanks guys!
We're closin' in on it!
I'm still not reaching the 'doScore.asp'.
Here's what's not happening:
//My Submit calls the JS function
<form onsubmit="sumScore();" name="myform" method= "post" action="doscore.asp">
// the function contains various stuff for calculations(all of which...
Nope! I already tried that. Good guess though.
document.myform.submit();
results in an error:
'document.myform' is null or not an object
And yes my form is indeed
<form id="myform" method= "post" action="doscore.asp">
Real basic multiple choice quiz in a <form>
I have a button: type="button" which works well calling my function sumScore() and filling results into text fields.
I also have the standard form "submit" button for the
<form method="post" action="doscore.asp">
I want to combine the two into one...
My application works. However, upon placing the Dreamweaver MX 2004 Recordset NavBar on the page I get the error below. There is no instance of JavaScript in the code.
Line 5 (the first program line) references the database object: var objRS_total = objRS.RecordCount;
Thank you for your...
The logic seems to be exactly what I'm looking for:
If the integer value of the object "f_delta_1st" is greater than 0, then make the font color of the object "f_delta_1st" green.
I'e pasted it immediately following the body tag <body>
So, what have I overlooked?
I appreciate your time.
Wow! I just posted this on another forum:
Yours seems simpler , and correct me if I'm wrong, I can place it before <body> Right?
--------------
Newbie asks: Is this correct and if so, where in the (existing) html <body>: does it go? I men no matter where I place the snippet, it's gonna be...
I've done this in javaScript:
Change text color based on value e.g.,
if (parseFloat(document.getElementById(f_delta_1st).value) > 0){
document.getElementById(f_delta_1st).style.color="green";
}
========
Now my ASP is reading these "number" datatypes and I would like to color them red or...
My form data is saved to a database.
Within the form is a table.
A named table cell <td> contains a JS document.write of today's date which is to be the time stamp.
Unfortunately I now realize that the contents of even 'named' cells aren't written to the dbase.
So I'm making a readonly text...
Something else on the same topic...
All the "<input type=text" values are written to and read from the dbase correctly.
My named 'textarea' values are indeed written to the database exactly like the Input fields, but those values are not read e.g. <% Response.Write objRS("Notes") %>
All the...
My form data is saved to a database.
Within the form is a table.
A named table cell <td> contains a JS document.write of today's date which is to be the time stamp.
Unfortunately I now realize that the contents of even 'named' cells aren't written to the dbase.
So I'm making a readonly text...
I've got vbScript between the <head> and <body>
BLAH BLAH BLAH...
DIM recCount
'objRS.MoveLast
'IF Not objRS.EOF THEN
recCount = 0
'Do UNTIL objRS.EOF
if objRS.RecordCount>0 then
Then within numerous <td>'s I have:
<td><% Response.Write "f_req_1st = " & objRS("f_req_1st") %></td>
<%
I've...
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.