Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF JavaScript


Help in Jquery form serialize result into php variable!! please - JavaScript Help  

Hi all,I have recently i have found out a fantastic function in jquery called serialize, which allow form values to show without submitting it.. Continue Reading
Views : 84
Wednesday 2nd of January 2013

Lightbox issues - JavaScript Help  

Hey I'm having trouble making lightbox work.? I was told on the Wordpress forums that it's because the theme has a ton of script errors..Here it is:Any advice on how to clean it up?? Totally new to this stuff.Thanks Continue Reading
Views : 88
Wednesday 2nd of January 2013

change the inputbox content ( hour ) using the keypress - JavaScript Help  

hi,i have a inputbox that have a hour in this format:12:00:00 what i want to do is change the hour,secunds,minutsby pressing only the keys up and down.i have seen some web forms that do that but i can?t figure out how do that.any one know something like... Continue Reading
Views : 51
Wednesday 2nd of January 2013

i need to make a username field blank after checking - JavaScript Help  

I have used jquery/ajax to check for username availability.it works fine.But how to write the code to make the username field blank ,if the username exist?my js/ajax code is as follows $(document).ready(function(){//var name=$('#username').val(); Continue Reading
Views : 55
Wednesday 2nd of January 2013

Automatically submit form on input text field - JavaScript Help  

Hi all,I'm wondering if i can have one form with only one input text field and one submit button and when the user inputs the tenth caracter in that field, the form is submitted automatically. I think that i need some javascript or... Continue Reading
Views : 57
Wednesday 2nd of January 2013

Show a input type="hidden" field - JavaScript Help  

I have this input that is hidden ---- I want to have this type="button" (AFTER CLICK) so it that shows that hidden field... any ideas? Continue Reading
Views : 35
Wednesday 2nd of January 2013

jquery selectors problem - JavaScript Help  

hey,$("a[name^=del_comment]").click(function() { $.ajax({ type: "GET", url: "index.php?userid={$core->input['userid']}&CODE=delete_comment&id="+$(this).attr('id'), context: document.body, success:... Continue Reading
Views : 211
Wednesday 2nd of January 2013

Script isn't working - JavaScript Help  

Links to pages incase you want to seem them there:http://frankahinojos...lawyer/test.php Continue Reading
Views : 37
Wednesday 2nd of January 2013

Problem Splitting Array on new lines - JavaScript Help  

Hey guys,I'm trying to take my array and split it onto different lines, the tricky part is the number of items will change.here is what I have so far:var addnext = name; allquotes = new... Continue Reading
Views : 36
Wednesday 2nd of January 2013

Content switcher crashing IE - JavaScript Help  

Hi, I have used the same content switcher across a lot of pages on my site with good results. However, when I use the same script but with inline css edits, it works fine in Chrome and Firefox but completely crashes IE8.Here is the about page causing the problem Continue Reading
Views : 25
Wednesday 2nd of January 2013

Change Background Color with Checkbox on an Order Form - JavaScript Help  

I have a custom order form that we are working on formatting Continue Reading
Views : 66
Wednesday 2nd of January 2013

Form Validation Script Help - JavaScript Help  

Hello, I have a java form validating script. It will only validate up to 4 vars. In my case up to "var dl_street".? It will not check "var delzipcode" which is next and lets the form submit go through and it will not check anything after that. If I remove anything... Continue Reading
Views : 46
Wednesday 2nd of January 2013

Text Boxes when link clicked - JavaScript Help  

Hi all,Am new to java scripts.Am in need of a javascript coding for,When a link is clicked it should bring 2 text box below that link.Someone suggest me javascript codings for this.Thanks. Continue Reading
Views : 26
Wednesday 2nd of January 2013

jQuery UI not working - JavaScript Help  

I'm not a very good JS developer but I'm muddling my way through creating a nice interface for my program with AJAX and jQueryUI. The AJAX part I have working fine, but I can't seem to get jQueryUI working.I read some of the intros and... Continue Reading
Views : 38
Wednesday 2nd of January 2013

Java script working in IE but not in Firefox. - JavaScript Help  

Dear AllI have a sample code in which validation is done by java script.. All working fine in IE but not working in firefox. Please suggest. code below Continue Reading
Views : 48
Wednesday 2nd of January 2013

back,forward browser button for iframe - JavaScript Help  

I am wondering how Back, Forward browser button works for iframes. Does it bring back/forward iframe or top window?I remember I had before a problem because I wanted to bring back iframe and not top window as it did. But today I tested my Facebook app and was surprised to see it... Continue Reading
Views : 41
Wednesday 2nd of January 2013

Message system reciever style - JavaScript Help  

So i have a messaging system created.. on the reciever input text i do check how many emails have been inputted by seperating then with an ";" .. what i want to do is add a style(like a box with a background color etc..) between each ";" for each email added so the user can see easier to who... Continue Reading
Views : 39
Wednesday 2nd of January 2013

Select Check Box - JavaScript Help  

This fails on me.? Firebug says msg is undefined. function selectone () { var msg = document.getElementsByName('pm'); var i = 0; for(i; i < msg.elements.length; i++) { if(msg.elements[i].checked ===... Continue Reading
Views : 32
Wednesday 2nd of January 2013

Add Class to DropDown - JavaScript Help  

Basically I have a dropdown that appears on hover.? When it an category in the dropdown is selected I want to add a class.? When another item in the list is selected I want to remove the previous class and add the same class to the new dropdown item.I know this doesn't work, but am... Continue Reading
Views : 78
Wednesday 2nd of January 2013

Help with generating discounts using JavaScript - JavaScript Help  

Hi Everyone,I have created some code that lets a user fill out an order form. e.g Name, Email etc etc....But they also have the option to type in a reference code from a catalog, type in what price it is and how much of a quantity they want. This will generate a total. The user can... Continue Reading
Views : 41
Wednesday 2nd of January 2013

how to fire a script - JavaScript Help  

HelloI am studying Javascript at college.there are some examples in the book and I would like to test them.example:var age = parseInt (prompt ("Please entger your age";));alert ("Your age in decimal is " + age);How can I test this... Continue Reading
Views : 34
Wednesday 2nd of January 2013

Joomla Component Window - Resize - JavaScript Help  

Good Morning,We had a custom Joomla component built and we're having trouble with the window size when it opens. The top of the component starts about 1/4 of the way down the screen and extends below the screen. There is no scroll bar so... Continue Reading
Views : 44
Wednesday 2nd of January 2013

Need help with an getting my idea to work... - JavaScript Help  

Here's what i'm trying to do. Basically i want to use javascript to check if the user has clicked the mouse button onto a specific link withing a certain amount of time.To make the above clearer i'll give you the scenario... my page loads and only a linked image shows up. While to... Continue Reading
Views : 42
Wednesday 2nd of January 2013

Jquery iterate through li a - JavaScript Help  

This is my setup:? ? ? ? ? ? Item 1 ? ? ? ? Continue Reading
Views : 47
Wednesday 2nd of January 2013

Smooth scrolling with setTimeout - JavaScript Help  

This works:var startTime = 5000;var timer1 = setTimeout("document.getElementById('features').scrollTop += 2;", startTime + 25);var timer1 = setTimeout("document.getElementById('features').scrollTop += 3;", startTime + 50);var timer1 =... Continue Reading
Views : 46
Wednesday 2nd of January 2013

Insert PHP output into JS variable. - JavaScript Help  

Is it possible to make Javascript get output our of php page?for instance:i want to insert this pagesomething.php?name=jackinto var data Continue Reading
Views : 45
Wednesday 2nd of January 2013

JQuery portion of script no working - JavaScript Help  

I have a script that is supposed to submit my form using process.php and deliver a success or failure message on the form page. The form does submit, but the JQuery portion is working. I just get a generic message from my process.php page that the form was submitted. I am not sure what is... Continue Reading
Views : 50
Wednesday 2nd of January 2013

.onload support - JavaScript Help  

Hi all, i am running netbeans and i got a little warning mark on the .onload function in a little script i have..onload is part of the jquery framework.Does anyone know what i should be using instead or any other advise? Sorry for all my asking but i am a complete noob in... Continue Reading
Views : 53
Wednesday 2nd of January 2013

Changing the URL address bar without reloading the page. - JavaScript Help  

Is it possible that to change the address to something else with out reloading the page? I understand that if it were possible it could make a real security issue (Phishing and so on). but I need it just to change the value of some GET variable , in... Continue Reading
Views : 59
Wednesday 2nd of January 2013

jQuery drag/drop from multiple areas Demo included... - JavaScript Help  

Hi guys,I'm using this jQuery demo - http://jqueryui.com/.../#photo-managerImages can be dragged... Continue Reading
Views : 51
Wednesday 2nd of January 2013