I have a list of about 2000 locations (Country-Region-City) and I am considering using them as options in a dropdown menu with one option preselected. I would like to know:
1) Is it feasibl...
I'm coding a site in ASP and javascript and I've noticed that when I use onClick="history.back()" for back buttons, it works fine in IE and most of the time in Firefox, however sometimes Firef...
Hi Folks,
Currently I am getting the current date on the JSP using the java code as follows:
<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%...
I want to make a section of a html page appear grayed out, or disabled. It is a large form, and I can easily make the form fields readonly or disabled, but I want to gray out that entire secti...
Hi,
How to download a file using struts?
In my jsp page there r 3 jsp pages, when I press one button I should be able to download a file(pdf or word etc), and when I click other button...
There are some websites that are viewable from the US, but not viewable from other countries. How do I view one of these websites?
For example, the website www.netquote.com is accessible fr...
Hi all,
Some background: Fedora 3, no SELinux (I think), logged as root.
Before we all get excited about low hanging fruit, I think I got all that. I did download and install libmcrypt...
Hi
I have been using Dreamweaver 8 with IIS to display .asp pages accessing an Access database without any issues.
I have just installed Windows Vista RC1 with IIS 7.0 and when using the...
I am using Membership and Roles in asp.net 2.0 website, using Sql Server 2005. I have installed aspnetdb. The login button works fine during Debug in Visual Studio.
But when I created a vi...
Is there any methods are there in JavaScript to compare 2 dates, instead of writing lengthy code.
We recently updatesd our website and now when you print a page from IE, it cuts off the text on the right hand margin. The page is laid out in table and the table where the cutting is occurin...
I've tried for 2 days now and searched the net with no results. (well, lots of results, but still having problems)
Grid has templated fields for Item and Edit. The Item field is a label wi...
I found a script out there in PHP that will allow people to make a donation through PayPal on a website, and I would like to use it. Is there any way to set it up so that you can have a tax re...
I am trying to use html2fpdf to convert my html file to a PDF but it is giving me but it is giving me various undefined variable and index errors. please help me out.
Hello,
I'm trying to use the following code to do some very basic form validation. The code works for text fields, but not for the dropdown.
<script Language="JavaScript"><!--
function...
I have a recordset that MIGHT come back empty from my SQL query. I want to output the recordset, but my pages error out when I try to response.write a NULL set. I basically need to find the ...
can anyone tell me how to hide the scrollbar for a iframe, and show it again when the src content of the iframe is larger than the height/width of the iframe?
this is very very urgent so 50...
I have windows XP machine (IIS installed) . when i type http://127.0.0.1 in browser's address bar it open page. but when i type http://localhost it does not work . I also checked "host" file ...
I feel dumb even asking this question, and i know there must be a simple answet but i've tried everything i can think of and i just cant seem to figure it out
how do you change the border c...
I need a way in Javascript to check to see if string starts with 'ste' OR 'Ste'.
(Extra 100 points if you can also give me a PHP way)
Hi,
Can anyone explain to me what the difference between 127.0.0.1 and localhost is?
Some people I have spoken to say they are the same. Howerver, I have had the situation where when I ...
I have bullets showing up in menu and do not want this. The weird thing is it doesn't show up in IE7 but everything else it does. Ive had this problem before and finally after being told by pe...
I have a .php file with the following code:
<head>
<META HTTP-EQUIV="Refresh"
CONTENT="0; URL=http://www.freewebtown.com/year3/thanks4.html">
</head>
<CENTER><font face="A...
Hi,
I am using JSP and Struts for my front end of my application. One of the pages has a textarea and I want to set a maxlength for it. I have a function setMaxlength which is call on t...
I am facing a problem in ajax post
1. I am not able to post data without
xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;charset=UTF-8");
2. If I use the ...