Home > JavaScript Development

JavaScript Development

JavaScript Development forum discussing JavaScript and DHTML, AJAX, and issues such as coding cross-browser JavaScript.
Ask Question About JavaScript Development
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,200)  status(have the best answer)
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,030)  status(wait for best answer)
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(77)  status(wait for best answer)
Find minimum area enclosing rectangle for convex polygon.
I have points representing a convex polygon. I would like to find the smallest rectangle (Not necessarily axis aligned) that will contain it. Have fond implementaions in C but they were a little to thick for me to understand.
answer(0)  view(17)  status(wait for best answer)
How to get Browser scroll position inside an IFrame?
hi.. I wants to get scrolling position of browser inside an iframe. I have a input type button in iframe. on clickof this button i wants to detect Browser window scroll position. Please help.
answer(0)  view(29)  status(wait for best answer)
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(21)  status(wait for best answer)
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(508)  status(wait for best answer)
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(701)  status(wait for best answer)
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(941)  status(wait for best answer)
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(62)  status(wait for best answer)
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(35)  status(wait for best answer)
how to add a tooltip to each item in the listbox on mouseover to display the entire string
<select name=myList style="width:300px" size='4' > <option value="0" >All Options </option> <option value="1">Option 1 </option> <option value="2">Option 2 </option...
answer(1)  view(37)  status(have the best answer)
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(530)  status(wait for best answer)
Stopping An Ajax Periodical Updater In Prototype?
Hi all, I have an Ajax Periodical Updater that makes calls to my server, but I want it to stop calling after 3 Ajax Requests. Here is my code: Code: function SendResultsRequest(item1, item2) { var Update = Ajax...
answer(1)  view(323)  status(wait for best answer)
hide print button window.print
I've researched this forum (as well as others) and found a few examples of hiding the print button during window.print. I'd really appreciate if you could point out the error(s) in my code or make a better suggestion. Thanks in advance. ...
answer(4)  view(587)  status(have the best answer)
JavaScript version of Bejeweled ??? (was "Can someone help me?")
I need to make a JavaScript version of Bejeweled that will work on a 480x272 screen. Can anyone help me do this? I don't know JavaScript too well.
answer(7)  view(581)  status(wait for best answer)
Multi-Select Transfer Box + Javascript + PHP + MySQL
Hello! I'm having a bit of trouble with an application I'm trying to write and could use some assistance. I have two major questions but I will provide some background that may help. I have a database containing a table called Courses. W...
answer(1)  view(369)  status(wait for best answer)
A script from "http://localhost" was denied UniversalXPConnect privileges. in mozilla
when i use netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); in file system script its working but its not working when i use it in application pls can any one help thanks nanjunda
answer(0)  view(35)  status(wait for best answer)
Extend forms
I have made up a form in HTML. This form has to be submitted by CGI to some application by POST method. Now I want to create 'n' number of similar fields ( Extend form ) by javascript. How can I do it?? I'm not good in javascript at all. I...
answer(0)  view(32)  status(wait for best answer)
PrintStackTrace in JavaScript?
hi. is there a way to printstacktrace in javascript? i have tried: catch(e) { alert(e.printstacktrace()) --and-- alert(e.javaException.printstacktrace()) } but nothing happens when i run the code. i can't seem to find wha...
answer(3)  view(466)  status(wait for best answer)
javaScript Function
What is the use of Subcats
answer(0)  view(36)  status(wait for best answer)
Stupid confirm() problem...
Hi, I don't know why this is happening, I just can't understand why it's not working. Here's two examples: Working Example Not Working Example Go to the working example and click any of the delete buttons. You'll get a javascr...
answer(4)  view(279)  status(wait for best answer)
Need help - cfselect for javascript
Hi, I have a select list (drop-down box). when I select one from the list, corresponding values should display in the grid. I don't have problem when I select and click GO button, values display in the grid. My question is, How shoul...
answer(3)  view(346)  status(wait for best answer)
JavaScript problem. Trying to determine a variables range
This is driving me nuts. I think it's probably a logic problem and I've burned myself out looking at it. I'm trying to determine a users screen resolution so I can adjust the size of the popup window to fit. The problem lies in the if...
answer(2)  view(253)  status(have the best answer)
is there any wrong the bellow javascript code in jsp
<%@ page import="java.util.Date" %> <%@ page import="java.sql.*" %> <jsp:include page="/main.jsp"/><br><br><br><br> <% String vtitle="project"; request.s...
answer(0)  view(32)  status(wait for best answer)
how to perform null validation in jsp pages
i want total process in the jsp pages thanks in advance
answer(0)  view(31)  status(wait for best answer)
URL parameters in Javascript
I am passing two parameters( sort and filter variables) in html document. I need to use the values of these variables in my javascript function which will eventually sort and filter a data table based on these values. How do I access the v...
answer(1)  view(378)  status(wait for best answer)
FRAMES/FORMS/JavaScript
I know how to create a banner/contents/main frame. The screen reflects three frames. This is my scenario. I want to create a form within the contents frame. The form has a list box. Once the individual clicks on an item in the list box...
answer(2)  view(508)  status(wait for best answer)
Javascript probs in IE4, but not Nav4
Bear in mind i am new at javascript, but...i generated a mouseover script from http://builder.cnet.com/Programming/Kahn/092398/?st.bl.pr.ss1.sscol.1355...and it works fine in Navigator, but when i try it (offline) with IE4.01, the mouseover...
answer(3)  view(641)  status(wait for best answer)
JavaScript Vs. CGI Script
I am new to the whole Internet development field (have been a programmer for 12 years now though) and I was wondering if someone can tell me the differences (if any) and recommend what to use. Can JavaScripts be executed on my pc or do I h...
answer(2)  view(950)  status(wait for best answer)
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved