Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF JavaScript


changing color on click - JavaScript Help  

Hello 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... Continue Reading
Views : 2749
Wednesday 2nd of January 2013

hide div when not clicking on it - JavaScript Help  

Hi, 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: Continue Reading
Views : 257
Wednesday 2nd of January 2013

JQuery Autocomplete issue - JavaScript Help  

Hi, 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... Continue Reading
Views : 234
Wednesday 2nd of January 2013

Populate an Array via Anchors/HyperLinks - JavaScript Help  

Hi,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... Continue Reading
Views : 261
Wednesday 2nd of January 2013

javascript:void(0) - JavaScript Help  

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) Continue Reading
Views : 175
Wednesday 2nd of January 2013

code wrong somewhere - JavaScript Help  

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 please?var textarea;function addcode(code){ textarea =... Continue Reading
Views : 254
Wednesday 2nd of January 2013

disable a form - JavaScript Help  

Hello there.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... Continue Reading
Views : 221
Wednesday 2nd of January 2013

Error Checking (user) - JavaScript Help  

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";? ? ?... Continue Reading
Views : 233
Wednesday 2nd of January 2013

comparing two strings and printing - JavaScript Help  

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 blue Continue Reading
Views : 255
Wednesday 2nd of January 2013

Validate mail DNS lookup - JavaScript Help  

Wow, if you're going to be that precise, you may as well include certain special chars like \x01. :P Continue Reading
Views : 262
Wednesday 2nd of January 2013

Cuatom alert box - JavaScript Help  

Hi there.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... Continue Reading
Views : 255
Wednesday 2nd of January 2013

controlling a form in an iframe with javascript - JavaScript Help  

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... Continue Reading
Views : 242
Wednesday 2nd of January 2013

Javascript question - JavaScript Help  

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 Continue Reading
Views : 261
Wednesday 2nd of January 2013

How to limit an object in simple iframe banner rotation to only be shown once - JavaScript Help  

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... Continue Reading
Views : 249
Wednesday 2nd of January 2013

Javascript integration with PHP problem - JavaScript Help  

Continue Reading
Views : 267
Wednesday 2nd of January 2013

Changing the style if the browser is IE - JavaScript Help  

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,... Continue Reading
Views : 229
Wednesday 2nd of January 2013

removing text - JavaScript Help  

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... Continue Reading
Views : 193
Wednesday 2nd of January 2013

Body onkeypress - JavaScript Help  

Hi,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 result? Continue Reading
Views : 247
Wednesday 2nd of January 2013

jquery/ajax/loading objects question... - JavaScript Help  

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.... Continue Reading
Views : 274
Wednesday 2nd of January 2013

ajax and php - change text field with a button - JavaScript Help  

Hi guys, I'have a problem. I want to change a field with a button. my field: my button: now is my question, how can ik... Continue Reading
Views : 239
Wednesday 2nd of January 2013

print part of page script help - JavaScript Help  

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... Continue Reading
Views : 242
Wednesday 2nd of January 2013

Drop down menu problem - JavaScript Help  

Hello, 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... Continue Reading
Views : 210
Wednesday 2nd of January 2013

JavaScrip Question Help!! - JavaScript Help  

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 #name Continue Reading
Views : 238
Wednesday 2nd of January 2013

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

Hi AllI 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 please?Thanks Continue Reading
Views : 217
Wednesday 2nd of January 2013

checkbox problem - JavaScript Help  

i have checkbox in form 1and i use thisjavascript codefunction test(){var mytext=document.form1.elements.length;alert(mytext);}html codei... Continue Reading
Views : 284
Wednesday 2nd of January 2013

change dinamic form field - JavaScript Help  

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) { Continue Reading
Views : 191
Wednesday 2nd of January 2013

using a php var in a js function - JavaScript Help  

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':... Continue Reading
Views : 212
Wednesday 2nd of January 2013

Submit form with Javascript timer - JavaScript Help  

Continue Reading
Views : 202
Wednesday 2nd of January 2013

Does javascript support .= - JavaScript Help  

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? Continue Reading
Views : 201
Wednesday 2nd of January 2013

Conflicting scripts making form not validate. - JavaScript Help  

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? ? ? ?... Continue Reading
Views : 214
Wednesday 2nd of January 2013