Home > HTML, JavaScript And CSS Help
HTML, JavaScript And CSS Help
HTML Help forum discussing HTML, DHTML, XHTML, and JavaScript languages for web development, including CSS style sheet coding. All aspects of website development are covered here.
Javascript limit date difference in form
Thank you in advance for any help.
I have a form with two fields as follows:
Input Field 1 is the from date
Input Fields 2 is the to date
So the user can enter 11/11/2003 in field one
and 11/28/2003 in field 2 and the dates are pas...
answer(0) view(254) status(

)
scriptlet
Does anyone now anything about scriptlets? I have been told it is possible to update db results on my webpage without refreshing the whole page using scriptlets. Im not really sure, I have this code which does it but I cant simplify it to m...
answer(0) view(705) status(

)
javascript query problems
Hi all,
Ive got a problem, in my webpage i have a button, when pressed i want it to connect to an access db and write the result(only 2 records) to two seperate text boxes. I have never used jscript, but am not too bad at asp. please help...
answer(4) view(554) status(

)
Form Validation Problem .. Null Object Error
This is a simple validation code i use only for making sure they check a radio button. The problem is i get this "radioname.checked" is a null object. Please help.
function validate(formObj)
{
if (formObj.radioname1.checked) {
...
answer(1) view(831) status(

)
Members Site
Hi,
I need to know how to set up a "members" web site where visitors can register to my site
and login on returning visits, (with a chosen password and username). I have knowledge of
HTML, but unfortunately no other progra...
answer(0) view(681) status(

)
Inserting at caret position
I have a JavaScript function that is supposed to insert 2 html <br> tags into a textarea (txtUnformattedContent) but instead it is printing the <br><br> at the last point I click anywhere in the browser window. If the last...
answer(1) view(68) status(

)
Defining the HTTP method
Hi, Does anyone have any idea as to how I would go about doing this? I'm not sure how I would go about getting the HTTP method used?
This is what the function ahs to do.
isFormFilledOut(HTTPMethod)
Function takes one argument defining the ...
answer(1) view(810) status(

)
moving scripts to a .js file
Howdy!
I'd like to move my javascripts to a .js file but when Id o so and click the a form submit I get an object not found error. What am I missing?
Below are the scripts.
<script>
//this is the pop up creator
function openN...
answer(3) view(813) status(

)
Automate ASP page / script
Hi all, I have a ASP script which I need to automate so that it runs daily.
Anyone know the best way to achieve this?
Thanks
Ed
answer(1) view(881) status(

)
form probs with javascript
Can anyone advise whats wrong with this? it does not check for any validation and just goes to the next page?
<SCRIPT language="JavaScript">
<!--
function validateForm(form) // validate Survey data
{
if (!vali...
answer(2) view(581) status(

)
CFM error
Hi guys,
I have encountered a weird problem. I am suppose to pass some variables from an ASP page over to another CFM page. On certain PCs, it works fine. On others, it'll show me the error that the variable stored in the session is unde...
answer(0) view(445) status(

)
Need to change a Date Format
I have a small problem returning the results from a pop-up calendar into a textbox on a form. The pop-up calendar pops up fine and when a date is selected it is inserted fine into my textbox on the form. My problem is the format which the ...
answer(1) view(155) status(

)
answer(1) view(185) status(

)
Displaying text in cells
Hello.
I have a forum that is displayed in a table with 3 columns (1X3 cells). In each cell there is ASP code for displaying the user, the subject and the date/time the message was send.
Now if the Username or the Subject are too long, th...
answer(1) view(327) status(

)
How to retrieve form values in HTML?
I have an asp page, and it is supposed to pass 2 fields over to the next page for processing. Supposedly, if the next page is a HTML page, how do I retrieve the 2 hidden fields passed over?
<form name="form" Action="dlo...
answer(4) view(794) status(

)
IE 6 and CSS Div Layers
I have posted the code below. Basically, in IE6 if I have a div positioned relatively in relation to its surrounding table there are many blank spaces that apper at the top of my page that i assume are IE6's way of reserving room for that ...
answer(0) view(693) status(

)
Printing from Browser Windows
Hey there, does anyone know how to tell a page to take a page-break for printing purposes. I've got a table of information returned in my browser but unfortunately it doesn't look great when printed. I would like to be able to add some so...
answer(2) view(505) status(

)
Javascript evaluate function
Hi,
I have an onclick function that sends the ID of a div to javascript.
How do I then put the ID into a javascript getelementbyid function ?
ie:
hide(target){
menuitem = document.getelementbyid(target)
}
What is the correc...
answer(1) view(179) status(

)
Printer Friendly pages.....
I have a client I am working with where I am taking a Word document, basically turning it into an HTML document, and making certain field in the form required such as check boxes and/or text boxes. #1, how do I go about making field requir...
answer(1) view(527) status(

)
What are good font options these days?
I'd like to use Trebuchet in the redesign of my company's website, but I'm afraid that most visitors won't have that font installed on their machines. What are safe fonts to use these days?
answer(1) view(902) status(

)
redirection
Hi, I need to redirect to a page held on a different drive of my server. See the code below...
Response.Redirect("D:\temp\index.htm")
How do I redirect to a page held in a directory above the one in which the current page is st...
answer(1) view(794) status(

)
Checking on window closing
I have a website that when people log off it writes a value to an Access database, however if they click the X on the browser
and close the window that way it doesn't work.
Does anyone know of any code that would take care of this fea...
answer(1) view(963) status(

)
Opening new window in maximised state
I am trying to get a user to click on a link that will open a new browser window, but at the moment it comes
up quite small. I don't want to hard code the size of the window, so was wondering if in the NewWindow method there was a way
to...
answer(3) view(777) status(

)
PRINT bgcolor
Does ANYONE know how to have table bgcolors or background images print when a page is printed?
answer(1) view(925) status(

)
HTML Table Exported to Excel on Click
Hello,
I have an ASP that returns some descriptive headers and a Table in HTML. I wish to also include a button that the end user can click to convert the HTML table into an Excel file on demand from the data already on the client side. All...
answer(0) view(690) status(

)
Urgent help! will pay!
I need someone to make me a form with text fields like the table in the pic at this address:
http://uk.geocities.com/mattdempsey...t.com/form1.jpg
If this doesnt work, because sometimes it doesn't, go to
http://uk.geocities.com/mattdemps...
answer(2) view(854) status(

)
Table within div tag does not hide
Hello
Please take a look at this code , my table does not hide:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><TITLE>POST OFFICE BOX RENEWALS</TITLE>
<META http...
answer(1) view(713) status(

)
Aaaargh!!! This should be pretty simple....
Hi,
I've been trying to put together a web page that works with an Access database that only does the following:
1. Accepts a 10 digit numeric value passed with the URL (AcctNumb)
2. Opens a database called Protocols with the followin...
answer(1) view(798) status(

)
answer(1) view(110) status(

)
Question about Layers(DIV)
Hi:
I have a document(invoice, letter patent,...), that it will have a different number of details and concepts.
These will be in the body of the document. These documents will have another sections. Depending of the amount
of details, when...
answer(0) view(486) status(

)