| |
thread by: Phillip Parr |
last post Jul 20 '05 by: Richard Cornford
Hello everyone. I've written a script which bounces my IE box around the
screen and then expands it to fill the screen. It works perfectly except one
problem: it doesn't work on my website. My website uses cloaked redirection
(which basically means my site name stays in the browser while the real page
is loaded into a frame). I've tried to...
|
thread by: FAQ server |
last post Jan 10 '07 by: Randy Webb
-----------------------------------------------------------------------
FAQ Topic - How do I prompt a "Save As" dialog for an accepted mime type?
-----------------------------------------------------------------------
It is not possible with client-side JavaScript. Some browsers
accept the Content-Disposition header, but this must be added...
|
thread by: Vladimir Veytsel |
last post Jul 20 '05 by: Fabian
Please find at the link below samples of JavaScript programming
techniques along with several useful fully-functional JavaScripts.
http://www.davar.net/INTERNET/JAVA-SCR/JAVA-SCR.HTM
JavaScript Frequently Asked Questions
JavaScript programming code patters
Extract navigation bar generation (function)
Local control of modification date...
|
thread by: Daren Perry |
last post Jul 20 '05 by: Emil Mroz
You're wrong!
There is a way using JavaScript, someone else came up with it in another
forum.
|
thread by: Aquosus |
last post Nov 8 '06 by: nige1
Does anyone know an excellent Regular Expression news group?
If so would you please point me to it
Thanks
|
thread by: grpmangr |
last post Mar 27 '06 by: Randy Webb
hi
Is ther anyway i can automatically fill out forms and submit them thru
java?
supposing i hav a normal txt file that contains all data that needs to
be filed out into the form, is there anyway i can fill out a form and
submit it automatically by providing only the URL of the form and the
txt file?
thanks
Najla
|
thread by: Christian Ista |
last post Jul 23 '05 by: David Dorward
Hello,
I have this javascript function
Function MyFunction(v,id){
document.getElementById(id).value = v
}
No problem with IE but not work with Firefox.
|
| |
thread by: FAQ server |
last post Oct 29 '07 by: Dr J R Stockton
-----------------------------------------------------------------------
FAQ Topic - Why does 1+1 equal 11? or How do I convert a
string to a number?
-----------------------------------------------------------------------
Javascript variables are loosely typed: the conversion between a
string and a number happens automatically. Since plus...
|
thread by: imatts |
last post Jan 1 '07 by: imatts
Hi can anyone help with this little problem. I have a simple script to
swap between two divs on a page. It works perfectly in Firefox & Safari
& Opera. It fails in IE 6 giving Object Required error on initializing
second variable var layer2. I can't get to the bottom of this. Can
anyone help?
<script type="text/javascript">
function...
|
thread by: FAQ server |
last post Jan 8 '07 by: Randy Webb
-----------------------------------------------------------------------
FAQ Topic - How do I change the text in the url/location bar?
-----------------------------------------------------------------------
This text can only be altered by changing the URL of the page.
The normal solution is to use frames, though this can introduce
problems...
|
thread by: Markus Schuster |
last post Jul 7 '06 by: Lasse Reichstein Nielsen
Hi,
I have the following javascript function:
<script type="text/javascript">
function HTMLEncode( text )
{
text = text.replace(/&/g, "&") ;
text = text.replace(/"/g, """) ;
|
thread by: FAQ server |
last post May 6 '07 by: Yanick
-----------------------------------------------------------------------
FAQ Topic - How do I disable the right mouse button?
-----------------------------------------------------------------------
The oncontextmenu intrinsic event is the only safe and reliable
method. Of the other approaches often presented, most depend on
an alert box...
|
thread by: FAQ server |
last post Jun 22 '07 by: Herman
-----------------------------------------------------------------------
FAQ Topic - How do I run a server side script?
-----------------------------------------------------------------------
You trigger a server-side script by setting any object's URL. For
example a frame, window, or an Image. An image will also
"swallow" the data sent back...
|
thread by: Robert Bravery |
last post Jul 6 '06 by: Matt Kruse
HI all,
I'm new toJS.
I am trying to get a user inputed date into mysql. The mysql database
accepts the date in yyyy-mm-dd format.
The user, from South Africa inputs the date in a web form in dd/mm/yyyy
format. Obviously when this is stored to the database table, the dates are
not quite what one would expect. I'm wantng to change the date...
|
thread by: Tony |
last post Mar 15 '06 by: Tony
I'm having some trouble with some javascript. I put it on the page and
it doesn't work. Can anyone help?
|
| |
thread by: DoomedLung |
last post Sep 17 '06 by: Richard Cornford
Hey, I recently bought "The Javascript and DHTML Cookbook" by Danny
Goodman.
I'm at Chapter 1, part 1.9 "Reading and Writing Strings for Cookies"
and was just interested in a utility function that grabs a cookie
value:
function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1) {
|
thread by: Afshin |
last post Jul 20 '05 by: Mike
Hi,
I am trying to create a very long dynamic document with fixed width
for the cells of my table iin HTML, I need to truncate some of the
information that I display to fit in the table.
As the document is very long I can not use the offsetwidth
functionality of the cell because then the user will see the
information being truncated,...
|
thread by: Andy |
last post May 17 '07 by: Andy
<form onsubmit="call_rss();return false;">
<input type="text" name="rssurl" id="rssurl" size="40"
value='Skype'>
</form>
The code above has the value "Skype" and only after hitting Enter/
Return key, the value is submitted. How can the value "Skype" be
submitted automatically without pressing Enter/Return key?
Thanks for the tips, gurus...
|
thread by: FluxForums |
last post Jul 20 '05 by: Hywel
Place in <head
<SCRIPT LANGUAGE="JavaScript"><!-- Begi
image1 = new Image()
image1.src = "images/imagename1.gif"
image2 = new Image()
image2.src = "images/imagename2.gif"
// End --></script
--
FluxForum
-----------------------------------------------------------------------
|
thread by: BjoernJackschina |
last post Jul 20 '05 by: BjoernJackschina
Hello,
I want to create a new window but I only know the method
window.open(URL,...) but it doesn't work out.
I've tried the variation 'var f = window.open("",...)' but I have a
mistake message. What is the way to create something like that with
Internet Explorer 5.
|
thread by: Simon |
last post Mar 16 '07 by: Dr J R Stockton
Hi everybody
I have a function, called "Terug"
Within that function i want to go to another function (named Frames) after
let's say, 2 seconds.
How can I do that?
function Terug() {
some code
etc etc
|
thread by: Tony |
last post May 14 '06 by: Richard Cornford
Is it me, or is document.write just about the most abused js function?
Maybe, like goto, js would be better without it?
Is there any good reason to use it? Because I'm having a hard time
seeing any... Maybe my imagination just isn't good enough :)
|
thread by: FAQ server |
last post Jul 3 '07 by: Richard Cornford
-----------------------------------------------------------------------
FAQ Topic - I have <a href="javascript:somefunction()"what
.... ?
-----------------------------------------------------------------------
Whatever the rest of your question, this is generally a very bad
use of the javascript pseudo protocol. It was designed so that a...
|
| |
thread by: jrefactors |
last post Jul 23 '05 by: Grant Wagner
Even there is no status bar and toolbar, refresh still happens in the
background. Is there any way to disable refresh feature in browser??
Winopentest.html
<html>
<body>
<a href="#"
onclick='window.open("test.asp",null,"height=500,width=500,status=no,toolbar=no,menubar=no,location=no");'>
open new win</a>
|
thread by: lejason |
last post Apr 8 '07 by: lejason
I am trying to make a tree menu that is similar to this
http://genieindustries.com/service_manuals.asp where you can click an
list item and it will un-hide another list. It seems simple
enough...but when I try it here http://www.wcumc.org/wcumc/w/content.php?type=info
it works in reverse. Meaning, it starts with the list fully expanded
and...
|