Latest Tracked Programming Questions Of JavaScript

JavaScript : changing color on click - JavaScript Help   (Views   2093)

Posted On: Wednesday 2nd of January 2013 12:42:29 AM
Guys, I am trying to build a design/configurator kit like the one shown in the following link http://www.customink.com/lab/PK=04615Please help me with the...Show More

JavaScript : hide div when not clicking on it - JavaScript Help   (Views   160)

Posted On: Wednesday 2nd of January 2013 12:42:25 AM
I have the following javascript:function createDiv() { var newDiv = document.createElement("div"); newDiv.setAttribute("id","box"); document.body.appendChild(newDiv); var box = document.getElementById("box");}and html:Show More

JavaScript : JQuery Autocomplete issue - JavaScript Help   (Views   147)

Posted On: Wednesday 2nd of January 2013 12:42:22 AM
not sure if this is the correct forum to post this in but here goes...Im using the JQuery Autocomplete function on a field. The select field pulls data from a recordset and works perfectly. The autocomplete works fine if you type...Show More

JavaScript : Populate an Array via Anchors/HyperLinks - JavaScript Help   (Views   168)

Posted On: Wednesday 2nd of January 2013 12:40:59 AM
How would I go about populating an array through anchors ()I have several links that contain people names, and I want to put these into an array upon the user clicking them. The data inside the array will not always be the same, it all depends on what names the user clicks...Show More

JavaScript : javascript:void(0) - JavaScript Help   (Views   148)

Posted On: Wednesday 2nd of January 2013 12:40:55 AM
a href=javascript:void(0) not working in IE 6.0, so what should i do so that i can get the same result as when using javascript:void(0) Show More

JavaScript : code wrong somewhere - JavaScript Help   (Views   162)

Posted On: Wednesday 2nd of January 2013 12:40:52 AM
hi,this bit of Java is the put emoticons into a message box, it always puts them at the end of the message and not were the cursor is flashing, anychance someone can work this out pleasevar textarea;function addcode(code){ textarea =...Show More

JavaScript : disable a form - JavaScript Help   (Views   148)

Posted On: Wednesday 2nd of January 2013 12:40:28 AM
.I'd like a form with one 'checkbox' type button. If that button is not selected, another part of the form, containing other select buttons and a text field, should be disabled. When you select the first button, the rest is also activated. After that, there is also a file type as input. (Or...Show More

JavaScript : Error Checking (user) - JavaScript Help   (Views   166)

Posted On: Wednesday 2nd of January 2013 12:40:24 AM
var password = "bambam";function prtyo(){ prompt("Enter password"); if(prompt != password){ alert("Wrong password, please try again :)"); prompt("Enter password"); }else{ window.location = "ohai.php"; ...Show More

JavaScript : comparing two strings and printing - JavaScript Help   (Views   160)

Posted On: Wednesday 2nd of January 2013 12:40:21 AM
i have a function where I would like to compare two stringsdepending on the position of each letter I need to format each letter differently...if the letter is in the right place print it Redif the letter is in the word, but in the wrong place, print it in blueif...Show More

JavaScript : Validate mail DNS lookup - JavaScript Help   (Views   157)

Posted On: Wednesday 2nd of January 2013 12:40:03 AM
Wow, if you're going to be that precise, you may as well include certain special chars like \x01. :P Show More

JavaScript : Cuatom alert box - JavaScript Help   (Views   160)

Posted On: Wednesday 2nd of January 2013 12:39:59 AM
.Im doing a research poster on the effects of internet addiction. Rather than having boring white boxes I decided to craete alert boxes (custom so I can title each box). then I'll do a print screen and drop it onto the poster. My problem is...Show More

JavaScript : controlling a form in an iframe with javascript - JavaScript Help   (Views   150)

Posted On: Wednesday 2nd of January 2013 12:39:56 AM
I'm presuming i have to use javascript, but anytyhing will do to get the job done!I have a site which has an affiliate form and i need to pass data into it using javascript. I've set up a test button (the link 'tester') which should send xxxx...Show More

JavaScript : Javascript question - JavaScript Help   (Views   164)

Posted On: Wednesday 2nd of January 2013 12:39:36 AM
I just wanna ask, i have used lots of javascript function in one of my page and i found the size of it is over 1 MB, i dont have any idea on how to reduce the size of it as all code is necessary.....how long will it take to open this huge size of page.Thx Show More

JavaScript : How to limit an object in simple iframe banner rotation to only be shown once - JavaScript Help   (Views   170)

Posted On: Wednesday 2nd of January 2013 12:39:31 AM
I have a simple banner rotation in an iframe that rotates several ads.What I need to do is have the ability to have some of the objects only load once in the rotation while allowing others to be loaded continuously. Is there a statement I can add to the script to do this Perhaps I need to set...Show More

JavaScript : Javascript integration with PHP problem - JavaScript Help   (Views   161)

Posted On: Wednesday 2nd of January 2013 12:39:26 AM
host, $this->username, $this->password) or die(mysql_error()); mysql_select_db($this->db, $con) or die(mysql_error()); } function...Show More

JavaScript : Changing the style if the browser is IE - JavaScript Help   (Views   139)

Posted On: Wednesday 2nd of January 2013 12:39:04 AM
So for my website I have one style attribute for a div that changes whether or not the user is using ie or something else #dropdown { display:inline-block; margin:0px; width:110px; *display: inline;}the * means it will only work in ie. So that fine, but now...Show More

JavaScript : removing text - JavaScript Help   (Views   126)

Posted On: Wednesday 2nd of January 2013 12:39:00 AM
So basically im trying to create a function that checks lines entered into a text box that removes duplicates completely.For example in the text box this is wrote.TheAndToWhatWhereTheOneAndWhereI dont want duplicates...Show More

JavaScript : Body onkeypress - JavaScript Help   (Views   174)

Posted On: Wednesday 2nd of January 2013 12:38:56 AM
I want to display a messgae (alert) whenever anyone click space in my webpage. Now, is there any way to do this other than putting the onkeypress in BODY tage Can I put onkeypress in any other place and have the same resultShow More

JavaScript : jquery/ajax/loading objects question... - JavaScript Help   (Views   181)

Posted On: Wednesday 2nd of January 2013 12:38:39 AM
if I am loading content into a div using the get feature of jquery, and that content has some clickable objects in it will jquery recognize those as well What I am doing is building a site that tracks bugs on our software. The site pulls the bugs from a mysql db and displays in a table format....Show More

JavaScript : ajax and php - change text field with a button - JavaScript Help   (Views   146)

Posted On: Wednesday 2nd of January 2013 12:38:36 AM
Hi , I'have a problem. I want to change a field with a button. my field: my button: now is my question, how can ik change my...Show More

JavaScript : print part of page script help - JavaScript Help   (Views   154)

Posted On: Wednesday 2nd of January 2013 12:38:33 AM
I have this script that when you place anything in div tags and give the correct ID it will print only that data. I ususlly works fine but since upgrading Firefox to 3.6.3 it only prints a blank page instead of the data on it.Instructions to use:place a div on your page...Show More

JavaScript : Drop down menu problem - JavaScript Help   (Views   145)

Posted On: Wednesday 2nd of January 2013 12:38:14 AM
, I am having a problem with my drop down menu. The layout of my page has a drop down menu and directly below it there is a table with a rotating ad. The rotating ad is using the jquery cycle plugin to change between different ads. Anyway, the problem I am having specifically is that, if...Show More

JavaScript : JavaScrip Question Help!! - JavaScript Help   (Views   142)

Posted On: Wednesday 2nd of January 2013 12:38:10 AM
Can anyone help with the following Javascript question please:Edit the following html/javascript so that when a user submits the form, the element with id #container is updated with the value from #nameShow More

JavaScript : FULL PAGE ZOOM (unsure of what coding) - JavaScript Help   (Views   135)

Posted On: Wednesday 2nd of January 2013 12:38:07 AM
Hi I am wanting to create a ull page zoom effect and not surewhich language would be best to develop this. Basically want to create a which will replicate the ctrl + or Ctrl - effect in all browsers. Can any one help me pleaseShow More

JavaScript : checkbox problem - JavaScript Help   (Views   140)

Posted On: Wednesday 2nd of January 2013 12:37:49 AM
i have checkbox in form 1and i use thisjavascript codefunction test(){var mytext=document.form1.elements.length;alert(mytext);}html codei cannot...Show More

JavaScript : change dinamic form field - JavaScript Help   (Views   123)

Posted On: Wednesday 2nd of January 2013 12:37:45 AM
hi,i have many filelds on my site that i want change the value.for example i have:a link: "click here for change" with this code: -> linker (26,'field_name');that call the javascript functionfunction linker ( id,field_name) {document.field_name.value =...Show More

JavaScript : using a php var in a js function - JavaScript Help   (Views   137)

Posted On: Wednesday 2nd of January 2013 12:37:43 AM
need a little help implementing a couple of php (or js) variables in this function:function toggle_acuras(){ var form = document.getElementById('Acura'); var thanks = document.getElementById('Acura1'); ((form.checked) Acura1.style.display='block':...Show More

JavaScript : Submit form with Javascript timer - JavaScript Help   (Views   128)

Posted On: Wednesday 2nd of January 2013 12:36:59 AM
Show More

JavaScript : Does javascript support .= - JavaScript Help   (Views   128)

Posted On: Wednesday 2nd of January 2013 12:36:56 AM
Question says it all.. I have something like..VALUE .= 'something' in a for loop. After 5 rounds of the loop, would VALUE hold.. 'something' 5 times.. if not, how can I change it so it is like that Show More

JavaScript : Conflicting scripts making form not validate. - JavaScript Help   (Views   123)

Posted On: Wednesday 2nd of January 2013 12:36:53 AM
I have a enquiry from that is not validating (pop up boxes are meant to come up)Now that i have included this code into my headerlinks.php ...Show More