Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF JavaScript


placing javascript cookie value into a textbox - JavaScript Help  

I want to place a Javascript Cookies value into a textbox, and I can't find any articles about it. Any help?Thanks Continue Reading
Views : 87
Wednesday 2nd of January 2013

Function not functioning... - JavaScript Help  

I'm attempting to have the example code section which is currently commented out to keep from code spamming this forum to react with the IF statement created within the FUNCTION that I called "calc".The code in the example section does work, however the FUNCTION or IF statement is... Continue Reading
Views : 61
Wednesday 2nd of January 2013

Change Image with onlick event - JavaScript Help  

I don't know allot of javascript and I've been fight with this all day.I have a a div that expands when you click on the expand image/button. It's a down arrow.What I want to do is when you click the down arrow image. To... Continue Reading
Views : 76
Wednesday 2nd of January 2013

Imitating the index property - JavaScript Help  

I have a list of DIVs in a DIV container and I want to be able to find out what index a specific div is in its parent's children collection. The other way around is easy. If I need to reference the 5th object in the container I simply use... Continue Reading
Views : 75
Wednesday 2nd of January 2013

auto show current li link - JavaScript Help  

hi,i have the following javascript code:function initMenu() { $('#menu ul').hide(); //what code to put here and... Continue Reading
Views : 85
Wednesday 2nd of January 2013

Getting PHP variables - JavaScript Help  

I have a number of text boxes which are given their IDs dynamically as the page loads.? This enables me to have 5 text boxes which I can then post to a database.? An example of the name would be $name = "name" . $incrementNo;Name would would then be Name 1, 2, 3, 4, 5... Continue Reading
Views : 77
Wednesday 2nd of January 2013

checkform not working - JavaScript Help  

Can someone help me with my checkform??I am trying to check if one of 2 radio buttons has been checked, if neither one is checked I want an alert stating so.THis is the code I am trying to modify.?... Continue Reading
Views : 59
Wednesday 2nd of January 2013

How to display a mini editor on top of an existing page - JavaScript Help  

Guys:? I need to create an event log.? This log is an editor that allows people to type in messages.? What I want is that when a user clicks on the event log button, it will not navigate the page away.? Instead, it will pop up a mini editor or... Continue Reading
Views : 79
Wednesday 2nd of January 2013

Creating Inputs - JavaScript Help  

I have this form here:function createDiv() { var Tag = document.createElement("input"); Tag.id = "url_name[]"; Tag.type = "text"; Tag.value = "Insert Name Here"; Tag.onfocus =... Continue Reading
Views : 76
Wednesday 2nd of January 2013

loop date problem - JavaScript Help  

i have listbox which contain of day, month and yearMonth should generate number of days, for example if i choose Feb then it will check whether leap year and generate daysfor(i=1;i Continue Reading
Views : 63
Wednesday 2nd of January 2013

format date IE 6.0 and FF different - JavaScript Help  

I have this small problemvar dt = new Date(year, month-1, day, 0, 0, 0, 0);dt.setDate(dt.getDate() + 1);when i display the result in both browser i get some small problemIE: Thu Jun 24 00:00:00 UTC+0700 2010FF:Thu Jun 24... Continue Reading
Views : 64
Wednesday 2nd of January 2013

Widgets development, how to start - JavaScript Help  

Hi,I need to develop a widget.I have read that it is better to develop using Javascript, but using a simple IFrame it is easier.What should I do? Develop using Javascript or IFrame. Some tutorial on widgets using Javascript? I'am very bad with... Continue Reading
Views : 57
Wednesday 2nd of January 2013

Submit form in Greasemonkey - JavaScript Help  

I am making a greasemokey script that gets information from the current webpage, creates an invisible form and submits it automattically. The problem I am running into is getting the form to submit. I get an error saying that submitForm does not exist. I did some searching around and could not... Continue Reading
Views : 101
Wednesday 2nd of January 2013

need help with this jquery .animate() function - JavaScript Help  

I got this function online, that uses the .animate function to add opacity to images when the user hovers over it. my problem is that i'm want to have the images have 50% opacity when the page loads...right now it only does it if the user hovers over it. Continue Reading
Views : 65
Wednesday 2nd of January 2013

Please help me with javascript for multi level menu - JavaScript Help  

I just want to add couple of drop down list in one of? my horizontal menu, can anyone pls give me a javascript for this ? Thanks. Continue Reading
Views : 65
Wednesday 2nd of January 2013

what's the difference between the object literal and the new Operator - JavaScript Help  

i have read this on the interent"Quotefunction getArea(radius){? // return the radius of our circle using the? // PI attribute of the built-in Math object? return (radius * radius) *... Continue Reading
Views : 59
Wednesday 2nd of January 2013

checkbox to check/uncheck all - JavaScript Help  

function SetChecked(val,chkName){? ? dml = document.forms['myForm'];? ? len = dml.elements.length;? ? for(i = 0; i < len; i++)? ? {? ? ? ? if (dml.elements[i].name == chkName)? ? ? ? {? ? ? ? ? ? dml.elements[i].checked = val;? ? ? ? }? ? }}Thats my... Continue Reading
Views : 89
Wednesday 2nd of January 2013

Generating a dropdown style from a textbox like in facebook messages - JavaScript Help  

I'm sure you've seen facebook, and myspace messages. Where when you compose, you type in the name, and it brings like.. a menu of a list of friends LIKE whats entered in the textbox. When clicking one, it inserts it into a div style into the textbox, allowing you the ability to add multiple... Continue Reading
Views : 105
Wednesday 2nd of January 2013

End onmousemove with timing event - JavaScript Help  

How could I code a function that waits for the visitor to move their mouse, executes a code when they move the mouse, then the function times out after say a second. So basically If a user visits my site, there is a hidden table, when the user moves their mouse it "wakes up" the mousemove code... Continue Reading
Views : 47
Wednesday 2nd of January 2013

Select values in popup window, insert into textbox of parent window - JavaScript Help  

I am not sure what this is called so I can't find anything on Google about it.But as an example, in some webmail systems, a user can click the TO link and a popup window with a list of their contacts will appear.? They can then select the... Continue Reading
Views : 60
Wednesday 2nd of January 2013

this.type=password - JavaScript Help  

I have a text field, and when a user clicks on it, it turns into a password field.to accomplish this, I have this in an onfocus method in the input: Continue Reading
Views : 115
Wednesday 2nd of January 2013

global vars help - JavaScript Help  

i don't know how to make certain vars global, or at least available to several functions:function mult1(){// Get values from formmo = document.getElementById('monthly1').value;oft = document.getElementById('often1').value;// Compute the product.var product =... Continue Reading
Views : 79
Wednesday 2nd of January 2013

Javascript not working, partially or completely, in IE but is fine in FF - JavaScript Help  

Hi,http://bit.ly/c6qEdCThis site is working perfectly in Firefox. However, for an unknown reason, its not working correctly in IE. The menu isn't working properly, no... Continue Reading
Views : 74
Wednesday 2nd of January 2013

show certain text when a select field is selected - JavaScript Help  

? Error/Bug? Abuse towards Staff? Porn? Racism? Continue Reading
Views : 52
Wednesday 2nd of January 2013

Proper forum to discuss slimbox - JavaScript Help  

I don't know where to turn to help for this one. I have installed slimbox on my site which is a lighter weight version of lightbox. I have a file structure as follows:user_page.php--include editpage.php???--include place.php? ? ? --include appinformation.php Continue Reading
Views : 52
Wednesday 2nd of January 2013

link from an iframe - JavaScript Help  

I have a page: user.phpIn that page I have an iframe with links, I want for when the user clicks on a link, it affects the url of the current page.so for example, the link is: #action=homeI would like the url to display: Continue Reading
Views : 63
Wednesday 2nd of January 2013

Scrollbar position - JavaScript Help  

Currently got chat box done using SQL and PHP, however when text overflows the scroll bar won't stay at the bottom..Currently using this code (within header): ? ? ?... Continue Reading
Views : 91
Wednesday 2nd of January 2013

Alternate submit button doesn't process java - JavaScript Help  

So I have a form that I want to validate an email address on. BUT, I was using a different type of submit button (with a picture) and It doesn't work.This is my submit button Continue Reading
Views : 71
Wednesday 2nd of January 2013

Onclick help - JavaScript Help  

howdy everyone? ? ???I'm not good with Javascript. but I know this can be done in javascript. I have a php event calendar and the event days are links. I want the links to be onclick and have a table under the calender to expand and show the events for that day. (it will... Continue Reading
Views : 61
Wednesday 2nd of January 2013

PROBLEM WITH jquery - JavaScript Help  

hii use this plug-inhttp://jquery.malsup.com/cycle/with this i can slide my picture like this way Continue Reading
Views : 40
Wednesday 2nd of January 2013