Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF JavaScript


Multiple Forms - JavaScript Help  

Hi, I'm a beginner with javascript, but I want to change my script, that the site doesn't always reload after saving a form. One form with one id I'm able to do, but different forms with the same id I don't know how. These are my forms:Quote Continue Reading
Views : 85
Wednesday 2nd of January 2013

function problem - JavaScript Help  

i have a function that im trying to get. it looks like its refreshing rather than sending data to the next page.im very new to java so dobt no what im looking for. the code looks ok to me.thanks for any help function change() { var... Continue Reading
Views : 44
Wednesday 2nd of January 2013

Hi any one know how Anchor tags are becoming input boxes - JavaScript Help  

Hi Could any one tell me how are websites using anchor tags the most used example is I guess when you click the wall icon on facebook it turns in to an input box could some one guide me how can i achieve this or point me to a tutorial. Continue Reading
Views : 100
Wednesday 2nd of January 2013

problem with adding values and multiplication - JavaScript Help  

Does anyone know how to modify this code so that it deny in case a text field is empty? Next to that I want to multiply it by 1.5. Anyone?onchange="document.getElementById('total').value = parseInt(document.getElementById('f1').value) +... Continue Reading
Views : 40
Wednesday 2nd of January 2013

Switch image on expanded content. - JavaScript Help  

Hey guys, Im creating a javascript content expander and would like to know how to create it so it changed the image from an down arrows to open the box, and a down arrow to close the box.Here is my current code. Continue Reading
Views : 56
Wednesday 2nd of January 2013

PHP to Javascript - JavaScript Help  

I want to use javascript to check the "username" field in my registration form to see if the username already exists in the database, WITHOUT refreshing the page.I was wondering if this is at all possible?Here's the php code I have for it now... Continue Reading
Views : 59
Wednesday 2nd of January 2013

innerhtml - JavaScript Help  

Im trying to get an innerhtml value to increment by 1function up(){document.getElementById("cnt").innerHTML = document.getElementById('cnt') + 1;}0 Continue Reading
Views : 47
Wednesday 2nd of January 2013

javascript if, then else issue. - JavaScript Help  

Hi everyone.I want to pass values to a couple of fields using javascript. the code i'm using partially works. it passes the values properly except for the fact that the payment amounts dont display properly. the 50,000 appears in the totalcreditcardlimit textbox no matter which... Continue Reading
Views : 51
Wednesday 2nd of January 2013

ajax cookies (get cookie) - JavaScript Help  

hey guys ive made a script which returns the field values (script below)but the problem i have is with this line herevar cookie_value = $.cookie(id);cause if there isnt a cookie with that value which exists it casues the script not to... Continue Reading
Views : 116
Wednesday 2nd of January 2013

Add new html table row and textfield - JavaScript Help  

Hello, could anyone please provide me with a function where I can add a number like 4 for example, and when the option to select 4 is selected from a dropdown form, it will insert 4 rows of whatever html I want to add into the page? So if they select... Continue Reading
Views : 63
Wednesday 2nd of January 2013

Radio button validation problem - JavaScript Help  

Ok so what I have is a small code to enable a submit button when a selection is made in both radio button groups. But it's only validating for one of the groups. Here's the code:function fCheck() {document.orderCushionForm.addToCart.disabled... Continue Reading
Views : 68
Wednesday 2nd of January 2013

Order of calling the js files - JavaScript Help  

Hi guys,I have a file where the calling to the function fails, when the order is like this Continue Reading
Views : 54
Wednesday 2nd of January 2013

Read topic & post values from a forum - JavaScript Help  

Hello,I'm rather new to javascript and I would like some help on a script.The problem: for administrator reasons I want to be able to read the amount of topic's and posts for each forum (not subforums).These values should be added to a google spreadsheet... Continue Reading
Views : 50
Wednesday 2nd of January 2013

Google Free Taxi Script - JavaScript Help  

Hello,This script is provided by Google maps. It uses the mileage between one place to another to another, then multiplies it by the price per mile, to give the Price of the journey.The problem is, we charge 3 different prices: Normal Taxi, MPV and Van Continue Reading
Views : 66
Wednesday 2nd of January 2013

PHP and List Box Help!!!! - JavaScript Help  

hello guys I am a newbies in php and I need your kind help...The syntax below will output a 12 listbox...what I want is I will add one listbox for the user option.. It means:If user will select 1 - it will show only 1 listbox instead of 12If user will select 2 - it... Continue Reading
Views : 98
Wednesday 2nd of January 2013

help on the select box calcualtion - JavaScript Help  

any one can help me on this code? the problem on this code is that it only give me the result of the last mutification (chassis.value * Quantity1.value). I want to get the result of motherboard.value * Quantity + Chassis.value * quantity1. anyone know how to fix this problem. I appreciate it.... Continue Reading
Views : 85
Wednesday 2nd of January 2013

[jQuery] Problem with the Cycle Plugin - JavaScript Help  

Hey there,I just installed a Cycle plugin on the website I'm working on, and I have a problem.On Firefox, everything works just fine, but when I open the website on Google Chrome, sometimes the images won't appear. I have 3 sliders: leftSlide, rightSlide and mainSlide, but... Continue Reading
Views : 56
Wednesday 2nd of January 2013

refresh parent from iframe. - JavaScript Help  

hi everyone.i have content in an iframe. when a delete link in a form, is clicked. i need the parent window to be refreshed.i currently have the code below. it seems to refresh the page but not the content. for example, if i... Continue Reading
Views : 82
Wednesday 2nd of January 2013

javascript validate numeric and decimal - JavaScript Help  

hello there, i have the following code to validate if empty input but i want to validate and the input for numeric or decimal, valid entries: 0.23, 1.22, 3, 0, 7 etc.? thank youfunction... Continue Reading
Views : 51
Wednesday 2nd of January 2013

Strange Flicker in Safari - JavaScript Help  

Can anyone tell me why I am getting this strange flicker on the two orange buttons below the main image?A developer wrote the js for me and he is telling me that he can't see the flicker but yet I am seeing it on all three of my macs. Can... Continue Reading
Views : 34
Wednesday 2nd of January 2013

Need Help for if (state == "focus") - JavaScript Help  

I was hoping someone could help me out here. My coding isn't good at all, I was to find a piece code that works for my focus image. However I want to add a to but not sure how or if can be done. I want it also to play an mp3 when focus is selected. If someone could help I would really... Continue Reading
Views : 57
Wednesday 2nd of January 2013

Collapsible Content that Degrades Gracefully - JavaScript Help  

I'm looking into creating a structure where a paragraph is hidden until the user clicks a line.? I know I could do it using the onload method for , but I want it to be an event detected using something on the tag (like using onload for the tag... Continue Reading
Views : 75
Wednesday 2nd of January 2013

Causing delay in javascript timer.. - JavaScript Help  

Can I ask the following question? If a game developer develop a MCQ game with a javascript timer. Is there any application/website that can be used to slow down the javascript timer or even stop it without assessing the game server? Continue Reading
Views : 91
Wednesday 2nd of January 2013

Keyboard navigation help - JavaScript Help  

Hi guys could anyone help me out with this and tell me how this jquery keyboard sliding is done on this website so that the user can use both the arrows on the keyboard aswell as the ones either end of the screen? Continue Reading
Views : 45
Wednesday 2nd of January 2013

Best way for javascript edit-option - JavaScript Help  

Hi there,I have this table, generated with php: Continue Reading
Views : 30
Wednesday 2nd of January 2013

how to refine search with form, by changing _GET variables - JavaScript Help  

From a previous search page that passes form variables via _GET to a new results.php page. On this page, I'm building a form down the side, to refine the search results. But I can't seem to remember the javascript to put into the form to update several $_Get variables in the url,... Continue Reading
Views : 68
Wednesday 2nd of January 2013

Using Javascript and the POST array - JavaScript Help  

Hello,I am wanting to send a field that has been updated to a check.php.? check.php should then generate an updated image of a check.? I would like the image when it is updated to be in an iframe on the same page.? My thoughts are to pass... Continue Reading
Views : 53
Wednesday 2nd of January 2013

Correct Syntax for Adding a Class to an Anchor Tag - JavaScript Help  

I'm trying to implement the lightbox plugin called Colorbox into my Wordpress theme and I'm having problems with it. You can see a demonstration on this article Continue Reading
Views : 38
Wednesday 2nd of January 2013

Detecting Flash Plugin - JavaScript Help  

Does any one know how to detect a flash plugin with java script or detect if flash is installed? Basically I would like to get some javascript to say if FLASH is installed or Flash Not installed!Thank You Continue Reading
Views : 34
Wednesday 2nd of January 2013

check if user has a GM script installed - JavaScript Help  

anyone have any ideas on how i could check if a user has a GM script installed when they visit a page on my website? Continue Reading
Views : 39
Wednesday 2nd of January 2013