Hi,
I written the following script:
function changeWidth(elm,toWidth){
var width = parseInt(elm.style.width);
var change = toWidth-width;
var total=width+Math.round((change/2));
var timer;
elm.style.width=total+'px';
function c() {
changeWidth(elm,toWidth);
}...
Hi,
I have been struggling to work out the best way of associating a group of dynamically generated checkboxes with their corresponding textfields. Do you know where I can find any good examples of this?
Thanks, Mike
Hi there,
I have written the following javascript which works perfectly in IE but doesn't work in Firefox, I believe it this is due to passing in two variable into the function.
Can anybody shed any light?
function optionPrice(checked, value) {
if (checked == true){...
Hi,
I not sure if this would necessarily be a JavaScript issue but I’m completely lost and any help would be great.
I have been asked to set up a system that verifies a users name and address using their bank details or maybe some other form of id. Does anybody know of a service that external...
Hello,
when setting a field in a document to a specific value like below,
document.Form1.qnt_handmic.value = 0
Is it possible to use a variable instead of specifying the textfield 'qnt_handmic'
I have tried to illustrate what i'm trying to achieve here.
function quantity(current_texfield)...
Hi,
I am using the following function to insert a link on selected text in a textarea
function formatTextLink (tag) {
var selectedText = document.selection.createRange().text;
if (selectedText != "") {
var newText = "<a href='" + tag + "'>" + selectedText + "</a>" ...
Hi,
here is the javascript i'm using,
<script language="JavaScript">
<!--
function PostBack(Object)
{document.form1.yourTextField.value=Object.value}
//-->
</script>
here is the option list,
<select name="frm_agency" onClick="PostBack(this)">
<option value="1">OPTION1</option>...
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.