Home > JavaScript Development
JavaScript Development
JavaScript Development forum discussing JavaScript and DHTML, AJAX, and issues such as coding cross-browser JavaScript.
Add/delete rows in table, problem in IE
Hi
below is the code which I am using to add/delete some dynamic rows in a table.
addRowToTable - To add rows in a table.
It adds three < td > in a row.
td0 --> text
td1 --> text
td2 --> image to delete the row.
de...
answer(6) view(474) status(

)
answer(0) view(5) status(

)
onchange to reload page with new data
Hi,
I have a little calendar application that I've written and I'm having the darndest time with something that should be so simple. I've built the calendar in PHP/mySQL. So the data for the calendar is called from mySQL using PHP.
I ...
answer(11) view(806) status(

)
detect back button
is this possible detecting back button using javascript like this:
this is just an example, this will not work
PHP Code:
<script language="JavaScript">
if (javascript:window.history.back()) {...
answer(8) view(1,456) status(

)
answer(0) view(6) status(

)
window.setTimeout not working in firefox
window.setTimeout not working in firefox:
window.setTimeout("getNextImage()", 5000);
and :
private string GetNextImageUrl()
{
if (files.Length == 0)
return string.Empty;
...
answer(0) view(8) status(

)
answer(5) view(1,391) status(

)
Progress Bar/pop-under
Hi,
My problem is this. I am not great a programming, but I have been asked to do a lot and learn a lot in the last year. I have implemented a Moodle course, but it takes a long time to load, and while it loads the person gets a blank screen. I ha...
answer(0) view(13) status(

)
answer(0) view(15) status(

)
Integer Division in JavaScript
I have learned that if I divide using the "%" symbol ie 7%5 I get the remainder of "2". How do I get just the Integer when I divide 7 by 5. In otherwords, I want to just get "1" with no remainder. Is this po...
answer(3) view(1,615) status(

)
How to retrieve default printer name in a web app
I'm running webfacing application on was 6.0
I control the printing thru a user profile that holds the printer
name.
the problem is that sometimes the user in a diferent location.
how can i retieve the default printer for the computer that's ...
answer(0) view(16) status(

)
Javascript + XML without ActiveX
Hello Guys,
I got a bit of a big question... is there anyway to parse an XML file using JavaScript without microsoft's activeX dom module.
I am trying to find cheap (< $10 Australian) host that supports php and mysql, but just in c...
answer(1) view(208) status(

)
Using Javascript to pass arguments to CGI?
Is there a quick and convenient way to get JavaScript to pass arguments to CGI?
For example I have a list of a certain length on my webpage and that lengthis controlled by a CGI parameter ?length=<list length> in the address bar.
Curren...
answer(1) view(21) status(

)
answer(9) view(1,762) status(

)
Message box not displayed when using AJAX Update Panel
Hi,
I'm new in AJAX. In my webpage I put a drop down list into Update panel and set it autopostback = true.
If user select anything in the list, system will pop up message box as a respond to the selected value. Coding for message bo...
answer(2) view(748) status(

)
Client Area Capture
Hi Javascript Experts !!
My problem is that I want a javascript code that captures all the pixels in a 400*300 of the client area of the browser. It dose not matter if that area contains graphics or HTML elements or Text. Whatever is the...
answer(1) view(914) status(

)
Javascript onkey press
function IsWholeNumber(TextBoxObj, e)
{
//var keyCode = window.event.keyCode;
var key = '';
var strCheck = '0123456789';
var whichCode = (window.Event) ? e.which...
answer(0) view(32) status(

)
Denied universalxpconnect privilege
Hello,
os:Windows XP
browser:firefox 2.0.0.6
I have this line in a javascript file
Quote:
netscape.security.PrivilegeManager.enablePrivilege("universalXPConnect");
which is throwing up the exception
Quote: ...
answer(7) view(1,792) status(

)
can we reset a textbox using javascript
hi
can we able to reset a particular form element using javascript
and not with a reset button
Code:
document.getElementById("descr_id").reset;
or
document.getElementById("descr_id").reset();
...
answer(3) view(1,056) status(

)
Cool Javascript Code
Does anyone know where I can find resources with cool Javascript code that manipulates text, like on blogger.com? If you goto blogger.com, and next to Recently Updated Profiles, I want something a little like that for my webpage. If there a...
answer(4) view(109) status(

)
answer(0) view(51) status(

)
answer(0) view(59) status(

)
how to set window.open() resizable parameter for firefox
setting resiable parameter for window.open() not working in firefox until you have change about:config setting "dom.disable_window_open_feature.resizable = false".
but its not an optimum solution. kindly suggest the optimum one.
answer(0) view(38) status(

)
Javascript file extension problem in IIS 6???
Hi all, I am moving my application and database from IIS5 to IIS6.
After that moving, my js file not called by html page,
<script language="JavaScript" src='includes/abc.inc'></script>
Then i noticed if i chan...
answer(4) view(579) status(

)
Complex Form Validation with JavaScript
I have a complex validation. I have part of it working with the help of this great site, but I added some more items to the page which I need some help. Here are the options a user can choose.
Case 1: Home Team vs. Away Team (Radio Butto...
answer(3) view(763) status(

)
Clip image instead of stretching it (<IMG> tag).
When i set WIDTH and/or HEIGHT attributes of <IMG> tag, the image is stretched to fit into the specified WIDTH and/or HEIGHT.
What i' d need is that the image was clipped, not stretched. Possibly clipped at the borders sides, to ke...
answer(1) view(1,048) status(

)
How to get rid of the exponential sign in javascript code?
Hi all,
I have a couple of javascript functions for doing minor calculations in the code. one of the calculations are resulting in an exponential number. These number are being misread by further code and thus I am facing issues in calculation. ...
answer(0) view(113) status(

)
How do I search a drop-down list?
First of all, I do not speak computer language, so your answer will have to be in plain English, please (e.g. click on 'this' and type x,y,z and hit 'enter', etc., etc.). So here's my question:
Imagine a drop-down list with several hundred item...
answer(1) view(61) status(

)
answer(1) view(75) status(

)
disabled field not turning gray
I am using Javascript to disable a text box when I click on a different one. I would like for the disabled text box to turn gray so that the user knows they can't type in that field. I had assumed that when you disabled a field, it automa...
answer(2) view(560) status(

)