Hi,
I've a page the use AJAX to call up some HTML. There is a fair amount of HTML so I break into 50 character per line using server side code and the present it back. I escape the speech marks using \. However, I have some inline javascript and some functions which I think is messing up the...
Hi,
I'm trying to sort out drop down menu of nested lists. I'd previously been using the suckerfish script which scans through the code adding onmouseover & out event to the <li> elements.
Problem is I would really like it if this was only activated after an onclick event. i.e. the dropdown...
Hi,
I've a list of full names in a text field. I'd like it so that if a name was partially deleted it would be fully removed.
For example:
joe blogs, john smith, darren peterson,|
if the pipe represented my cursor and I pushed the backspace button once I would be left with
joe blogs, john...
Hi all,
I have some menu script that is misfiring. For some reason my onmouseout event seems to fire occasionaly when I roll onto the next item in my list.
I was thinking an easy way round this would be to put a delay on the onmouseout event:
sli[x].onmouseout = function() { this.className =...
Hi all,
Not sure if this needs to be done via javascript or whether it can be done in HTML, but I'd like to be able to disable individual options within a select field.
i.e.
<select name="select" multiple>
<option value="1">opt 1</option>
<option value="2" disabled>opt 2</option>
</select>...
Hi,
Is this possible?
I use Ajax call to a page.
Within the called page I create some html which also contains a javascript element with a standard function in. I write this all into a variable escaping quotes and loop over it so there is about 50 characters per line.
var myNewContent = " "...
Hi,
I'm sruggling to figure out how to write this bit of code (below). Depending on which radio button is click I want a number to be passed to here: addressr.value
<script language="JavaScript" type="text/JavaScript">
function updateaddress(addressr) {
var formObj =...
Hi all,
I have a section of a form that looks like this:
<fieldset class="hideme" onclick="endhide(this)">
<legend>Properties is less than 5 years old</legend>
<em>If the property is less than 5 years old, please
enter the following</em>
<div>
<label class="left-label" for="developer">Name...
Is it possible to run two consecutive onsubmit methods on a form?
Would sopmething like this be OK?
<form name="register" action="register.cfm" method="post" onsubmit="return something(this);return othersomething(this)">
Thanks,
R
Hi all,
Is there an onclick event I can use to move to an anchor?
I have a form that loads some innerhtml content to a div tag via ajax. I'd like to jump down to this point without using the href="#whatever", is this possible.
Regards,
Richard
Hi all,
I have a script that is within the body of the page that I would like to run automatically.
I don't want to have to add the onload="whatever()" into the body tag.... is there a way around this?
Regards,
R
Hi all,
What the best way to completely re-populate a select field?
I've got three select fields and each one will change the others. This is going to happen via ajax so I can use server side code to create any array or what not.
I guess I need to clear the selecct field then re-add the...
Hi all,
is there a way to re-write the body tag?
The tag currently looks like this:
<body id="someidgoeshere">
or just
<body>
I have a site wide external jscript file that I'd like to use to change the body tag to
<body id="someidgoeshere" ondragstart="return false"...
Hi,
I've a character counter set up in my form. It's to do with engravings and I'm therefore not interested in counting the space marks. Once counted I then multiply by a number currently 0.65.
At the moment I have:
<textarea name="engraving25" id="engraving25" class="inputbox-nowidth"...
Hi All,
I've a quick couple of questions regarding opening a full screen window.
1) I've heard that Win XP with service pack 2 prevents this. Is that right?
2) Is it possible to have true full screen by moving the close/minimise bar off the screen?
I'm doing this for a client GUI - is there a...
Hi All,
I have a problem regarding getting the files size of an image.
Sometimes this script detects the image size other times it doesn't. I can select the same image without reloading the page and occasionaly it won't give the file size.
It's really trciky to figure out. Any advice on how...
Hi All,
I've been trying to use actionscript to get an xml document. Once done I wanted it to load one element at a time with a fade in / fade out. I've limited knowledge with this but have managed to get it partially working.
There are two dynamic text fields myphoto & mydescrip
The document...
Hi All,
Is there a way of detecting a mouse click anywhere in the screen?
I'm want a layer to appear which allows the user to click in and if they click off the layer it closes.
What's the best way to go about this?
Richard
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.