Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF JavaScript


Java Slider Help - JavaScript Help  

I have an image slider i am trying to edit. Currently i can only make it display only 1 continuios line of images that disapears. What i am trying to get, is an overflow feature that allows the images to start a new line instead of only one line. here is the code.JAVA Code: Continue Reading
Views : 30
Wednesday 2nd of January 2013

trying to display number completed as script runs - JavaScript Help  

hello,I have 2 page backlinktool.php and go.phphere is the files: BuildingLinkService.net - Instant Backlink Buiding Tool Continue Reading
Views : 29
Wednesday 2nd of January 2013

A countdown or timing event system - JavaScript Help  

Hi guys,I am looking for a which will display a link after 5secs/5day/5months. I got a script of the w3c tutorial see below.function timeMsg(){var t=setTimeout("alertMsg()",3000);} Continue Reading
Views : 65
Wednesday 2nd of January 2013

Single choice checkbox - JavaScript Help  

Hello,Am trying to insert checkboxes on my site that allow the user to select only one of given choices without using radio buttons. The user should also be able to uncheck there choice upon clicking the selected checkbox. Can anyone please help me on this.Thanks in... Continue Reading
Views : 45
Wednesday 2nd of January 2013

problem in loop - JS - JavaScript Help  

hii have many pieces of code like:? ? ? ? dojo.query("body").delegate("#input0 > select.estatistica", "onchange", function(evt){? ? ? ? ? ? dojo.xhrPost({? ? ? ? ? ? ? ? url: "drop2.php",? ? ? ? ? ? ? ? handleAs: "json",?... Continue Reading
Views : 71
Wednesday 2nd of January 2013

Issue with JQuery - JavaScript Help  

On my page I was a calendar, where a user can drag and drop their tasks to different days, when they do that I have css popup gets displayed that contains a div tag called 'content'. When that popup happens, i use ajax to call a php script and return informaton into the content tag on the css... Continue Reading
Views : 38
Wednesday 2nd of January 2013

How to reload page under one condition when using Jquery Connected Sortables - JavaScript Help  

I am using jquery connected sortable to sort pages in my website (pages.php) and everything is working great. 95% of the time the page does not need to be refreshed and ajax does it's thing. But, there is one container (#buttonmaker) that the sortables can be dropped into that requires that the... Continue Reading
Views : 42
Wednesday 2nd of January 2013

help with countdown.. - JavaScript Help  

Can someone give me code for countdown..When i get time from mysql, and from time(), to countdown days, hours, minutes, seconds until that time from mysql, can someone give me some example ?Thanks.. Continue Reading
Views : 56
Wednesday 2nd of January 2013

Dropdown Menu onchange Help - JavaScript Help  

Hi there I have a problem with the following codeIf I select the dropdown option it shows - ad.php?id=animal& region=The Value is not been retrieved - what am I doing wrong? Continue Reading
Views : 37
Wednesday 2nd of January 2013

Dynamically loading JavaScript files - JavaScript Help  

Hi all,I have done some search on the net and found some solutions to dynamically load up Javascript files.? It looks pretty simple, just reference the HEAD element of the document via DOM and append a child.? I only want to do this in the case that a particular Javascript file is... Continue Reading
Views : 55
Wednesday 2nd of January 2013

Load file to array. 1 line per value. - JavaScript Help  

I have a local text file with several lines of json data. (Each line is different).Is there any way to load this file into a var?That way I can decode each set of json like var[0], var[1] etc.The json data in the text file is... Continue Reading
Views : 67
Wednesday 2nd of January 2013

Validation for form thingy - JavaScript Help  

Hey guys new to Javascript.? This is supposed to be a validation script so that people will have to fill out all fields before they submit the form.? When I upload this to server to my site.? it isn't working.? Any ideas? Continue Reading
Views : 39
Wednesday 2nd of January 2013

trigger an action after a modaldialog closes - JavaScript Help  

I figured out how to use a showmodaldialog call to open up a 'login' window.? It gets called from the current form, pops up on top of the current form, does the login and then closes itself, leaving control back with the current form.? What I WANT to do is force the current form to do a refresh... Continue Reading
Views : 36
Wednesday 2nd of January 2013

javascript null error - JavaScript Help  

why i am getting b is null error ? createelement var b = document.getElementById('clickme'), count = 0; b.onclick... Continue Reading
Views : 52
Wednesday 2nd of January 2013

Issue getting value of textarea when displayed in Facebox - JavaScript Help  

Hi,I'm using the JQuery lightbox "Facebox" to display a textarea. I display the text area with a button. When the user types text into the textarea and clicks submit it wont pass the value to the Jquery function, but works fine when the... Continue Reading
Views : 24
Wednesday 2nd of January 2013

Clear Input Field Value - JavaScript Help  

How can I clear an input field value using an onclick event on a different element?link.onclick = function(){input = '';}This fails. Continue Reading
Views : 57
Wednesday 2nd of January 2013

Change border of image on onClick - JavaScript Help  

I am trying to add a border around the base they select and then when they select another one, I want the previous one to go away and then high light that one.This is my PHP code that outputs the bases:$gender = $_GET['gender'];// SQL Injection here?$sql =... Continue Reading
Views : 60
Wednesday 2nd of January 2013

Setting a Max Limit of Cloned Table Rows - JavaScript Help  

Hello,The code below allows a user to add new rows to a table, however I'm struggling with how to set a maximum limit on how many rows the user can add.? I've tried to create a "while" loop, but haven't had any success. The ultimate goal is not only to limit the number... Continue Reading
Views : 29
Wednesday 2nd of January 2013

make onload function load faster - JavaScript Help  

Hi, I have a website that autoloads a modal window. The behavior currently is that it waits until the entire page is loaded before the modal pops up. Sometimes this can take a long time to load. I was wondering if there was a way to make the modal... Continue Reading
Views : 62
Wednesday 2nd of January 2013

conditional not working right - JavaScript Help  

I'm looping through a json object that was retrieved via ajax. The problem I'm having is that currletter never equals firstletter yet they are the same value sometimes. I have verified that by dumping those valuse side by... Continue Reading
Views : 41
Wednesday 2nd of January 2013

Form validation in PHP; jQuery effects - JavaScript Help  

I've made a form in php, but I want jquery to animate the error messages using slideDown.I'm trying to implement this with the first name but am having no luck. I don't want to redo the validation in javascript.Current code:$firstname =... Continue Reading
Views : 52
Wednesday 2nd of January 2013

Javascript that detects class - JavaScript Help  

Hi guys,I have this img classnow what I need is to change toe onmousedown event so that it has an additional IF, the additional IF needs to check if... Continue Reading
Views : 72
Wednesday 2nd of January 2013

make browser ignore url of link - JavaScript Help  

I know this is really simple but i can' t figure out how to make javascript ignore the url of a link. here is some snippets Continue Reading
Views : 67
Wednesday 2nd of January 2013

doubts with jquery - JavaScript Help  

Hello.I'm trying to make a site using jquery but it's been so simple as i thought it would be.Some stuff it didn't even make sense, don't if it's me , if it's the scripts that i'm using.This is what i have done so far. There a few things not using jquery but i'll... Continue Reading
Views : 37
Wednesday 2nd of January 2013

JavaScript not working when live - JavaScript Help  

Hi guys ... Please check out our site at www.pixelforcepictures.com.Our site uses a jquery called 'feature list' to make the video selector we have created for the films page.Strange thing is ... the javascript works fine on our local machine when just... Continue Reading
Views : 42
Wednesday 2nd of January 2013

Inconsistent javascript output - JavaScript Help  

I'm having problems with my scripts. Javascipt output is inconsistent. What i mean is that if i'm accessing the system on my machine, the system outputs the correct figures. But when it is accessed using another machine, incorrect figures are displayed. We are all using google chrome so i guess... Continue Reading
Views : 53
Wednesday 2nd of January 2013

Replace text html onload - beginner level - JavaScript Help  

Hi, I want to change a web page by nesting extra div tags inside a div which is contained in my html - so that I can format subsections.I don't want to do this with an onclick button, but as the page loads .I'm a beginner at javascript... Continue Reading
Views : 41
Wednesday 2nd of January 2013

Can't Match Parameters - JavaScript Help  

I am building an auto suggest feature to my PM system and I just can't seem to figure this out.? Essentially once the auto suggest appears, I can click on someone and they'll be added to a message, but I also want that same functionality working when I press the enter key.? My file structure... Continue Reading
Views : 58
Wednesday 2nd of January 2013

Why wont return false disable enter - JavaScript Help  

I am trying to disable the user from being able to go to a new line in my text area. Why doesn't return false work?if (is_key(event, 13) && (with_field.value.length > 1)){ var search_list_ele_array = new Array(); var search_list_ele_array =... Continue Reading
Views : 64
Wednesday 2nd of January 2013

Reloading an XML after clicking a button - JavaScript Help  

Hello, I have this code that reads an external xml file:Quote? ? ? ? //? ? if (GBrowserIsCompatible()) {? ? ? var gmarkers = [];? ? ? var gicons =... Continue Reading
Views : 27
Wednesday 2nd of January 2013