| |
thread by: JimMenees |
last post Jul 20 '05 by: Douglas Crockford
I know there's an easy answer to this which is escaping me:
--------------------------------------------------------------------------
-----------------------
I have clickable thumb images which pass the image info to a window open script
to display a larger version of the image along with a description of the image.
The image info comes...
|
thread by: Wim Roffal |
last post Jul 20 '05 by: Wim Roffal
I wanted to use onChange with some checkboxes. However, the function is only
called when the focus is shifted to the next field.
Instead I would like my function to be called as soon as the user changes
the checkbox. Is that possible?
Thanks,
Wim
|
thread by: Doug van Vianen |
last post Jul 20 '05 by: Richard Cornford
I recently found the following JavaScript code which is supposed to let one
find then use the ip address of the person accessing the web page containing
the script.
<SCRIPT LANGUAGE="JavaScript">
<!--
var ip = '<!--#echo var="REMOTE_ADDR"-->';
function ipval() {
document.myform.ipadd.value=ip;
|
thread by: Cylix |
last post Aug 8 '06 by: Cylix
As I know, the document height is depend on browser and OS usering
using,
is there any way to get the height for that particular document height?
Thank you.
|
thread by: saiho.yuen |
last post Jul 23 '05 by: kaeli
Hi,
Is anyone know what is the difference between Location.href and
Window.location.href
Thanks you very much:)
Saiho
|
thread by: Julia Briggs |
last post Jul 23 '05 by: Dr John Stockton
Are there any gotchas using if (event.keyCode==8)? I understand that
to represent backspace, but it doesn't work. I am running Windows XP,
using a typical keyboard - but no luck in detecting backspaces. Anyone
have experiences with this?
|
thread by: harman.sidhuz |
last post Feb 1 '08 by: acoder
Hi
How we can disable parent window while popup window is open? i am using window.open() method to open new popup window. As per my requirement, showModalDialog() or showModelessDialog() is not useful in my project. Can we pass any argument in window.open() method so the purpose can be solve.
Regards,
Harman
|
| |
thread by: mikeh3275 |
last post Jun 17 '08 by: mikeh3275
I'm new to developing in jQuery, so I'm probably doing this wrong. I'm loading a form into a modal dialog box and I'm trying to assign a click event to the button in the form, but I can't seem to get anything to happen. Below is the code. Thanks in advance.
jQuery:
jQuery(document).ready(function()
{
jQuery("a").click(function()
{...
|
thread by: Pavils Jurjans |
last post Jul 8 '06 by: anonymous
Hallo,
I have been programming for restricted environments where Internet Explorer
is a standard, so I haven't stumbled upon this problem until now, when I
need to write a DOM-compatible code.
The question is about best practices for passing parameters to an event
function.
I have, say, the following HTML:
|
thread by: Seige |
last post Jun 23 '06 by: Matt Kruse
Ever had headache when you can't resize the background width using CSS:
body{
background: url(/images/bg.jpg) ;
background-width: 800px;
}
It won't work, would it? Of course not, it's not even defined in CSS.
So, let's try to work it out using Javascript:
There are two methods, first method you prepare plenty of different
|
thread by: Randell D. |
last post Jun 20 '06 by: Myshkin
Folks,
I'm working on a contact name/address database whereby a slimed down list is
shown in the main window. When a record is selected, the complete record is
displayed in a new window via a call to window.open
As opposed to closing and re-opening new windows, I would prefer that when
the user is finished reading the complete record,...
|
thread by: Scadhasini |
last post May 29 '07 by: acoder
Hi ,
i am using value which is selected in combo box. here i am using combo box array.i declared like that
<select name="typeOfThreshold" size="1" >
<option value="First" >First</option>
<option value="Second" >Second</option> </select>
now how i have to get selected value in javascript . i tried in so many ways ..please help me to solve...
|
thread by: Sebarry |
last post Sep 1 '07 by: markrawlingson
Hi,
I've put together a little test page to create checkboxes each time a button is clicked. The check button is created and should be appended to the form, but when the post is submitted the dynamic checkboxes are not available in $_POST in PHP.
Here's the code:
<html>
<head>
<script language="Javascript">
|
thread by: anudu |
last post Apr 28 '09 by: fjlewis
hi all programming experts,
I am developing a system using asp.net(c#) , ajax and javascripts. I want to bind a dataset to a gridview using a javascrip function. the javascript function is written in a different .js file and linked to the aspx page. i am calling that function in "onclientclick" method in a button because i want to...
|
thread by: Allan Bruun |
last post Jul 20 '05 by: Lasse Reichstein Nielsen
Hi all!!
Could anyone help me with this annoying problem:
When I enter the site www.vans-nordic.com I get this error in the browser:
"document.all.style is null or not an object"
This is what the files look like:
|
| |
thread by: Stefan Burger |
last post Jul 20 '05 by: cwdjr
Those of you who are in need for drawing vector lines might be interested in
the following code.
DrawLine( x1, y1, x2, y2, color ) draws a vector line from any Point x1,y1
to any Point x2,y2 in any color (string format #RRGGBB) by using div-tags.
regards
Stefan
###############code starts here#########################
|
thread by: VA |
last post Nov 23 '05 by: McKirahan
I have a report that is accessible by a URL.
How would I go about automating the launching of this URL using, say, a
batch file?
I can put
start iexplore.exe "http://my.url"
in the .bat file
|
thread by: Yash |
last post Jan 24 '08 by: Steve Swift
In a TD, I would like to print 5 words one below the other. I know I
can use <BR/>. Is there any other way?
I tried
and
This seems to print "\r" and "\n" but not give
the effect of a new line.
I am actually doing this so that I can use the HTML content to export
to an Excel file. A BR introduces new Excel rows which is unwanted for
my...
|
thread by: nirmalsingh |
last post Jun 4 '07 by: acoder
hai all,
in html i have created a text box and make it readonly such as
<input type="text" id="age" readonly/>
now i want to make it enable(through javascript) to type in text box . what should i do for this?
|
thread by: auslandt |
last post Jun 6 '07 by: auslandt
I have an HTML file that includes a JavaScript. I would like this JavaScript to be able to create an "onChange=<function>" attribute against the password element.
Here is an example page of the onChange embedded in the "password" field. This is normal HTML and it works fine.
<HTML>
<HEAD><TITLE> Example of onChange Event Handler </TITLE>
...
|
thread by: Luongo |
last post Nov 15 '06 by: Luongo
Hi, I'm looking for a way to refresh just one part of a page (a div layer) rather than the entire thing. It has been suggested to me that i use AJAX to do this - however I have no knowledge whatsoever of this. Could someone confirm that this could be done and point me in the right direction?
Thanks....
|
thread by: Jim, N2VX |
last post Jul 20 '05 by: ExGuardianReader
I'd like to create/display an Excel spreadsheet from javascript. We
have an HTML page with results of a search and it can be reasonably
large.
The first attempt was to format the data into an HTML table and send
it to an ASP page. The ASP page has:
Response.AddHeader ("Content-Disposition", "inline");
Response.ContentType =...
|
thread by: mayurkoul2002 |
last post Jun 1 '06 by: Noah Sussman
hello there.....
i have a problem here...........i want to assign ID attribute
dynamically to the html tags......and i need a function for tht....can
anybody help me out in tht
|
| |
thread by: Steve Chapel |
last post Oct 9 '06 by: RobG
When I load the page
<https://bugzilla.mozilla.org/attachment.cgi?id=237739with Internet
Explorer 7 RC 1, I get the error "Object Expected" at line 174. When I
click on the button, I also get the same error on line 186. This same
HTML and JavaScript works perfectly in Firefox and Opera. How can I make
the code work in IE?
|
thread by: dzeeq |
last post Jul 20 '05 by: Michael Winter
Hi,
I wonder if it's possible to replace standard text on confirm-popup
buttons from 'ok' and 'cancel' to some other captions.
If not, is there a way to create quickly custom dialog, with only two
buttons, returning 'true' or 'false'? Would I have to use forms to
return value from my custom dialog?
Thanx for any help.
|