but it isn't right. It breaks the javascript, and doesn't run at all. Anyone have some clues or answers for me? I don't use jquery or javascript enough to figure it out.
I'm trying to save the input and pass it into the URLs that are the option values. So Artist ID being 111 would take you to url..../<WHATEVER OPTION YOU CHOSE FROM DROP DOWN>/111 What am I doing wrong/What am I not doing?
i am developing a web application in which i have to retrieve the user browser and platform information. i am using javascript to get this information and tryin to pass these values to the html hidden form element. pasting a brief code from my application.
how do I pass a var (in my case ssID, since have two slideshows) to onAfter? (I know there are three params passed to this fn already... how do I pass a fourth one??)
Is it possible to use a function to pad option values in a drop down box? I need to pad 5 values in a drop down box 15 characters with balnk spaces then add a "1" on the end.
When using jQuery Cycle as a text scroller, because IE7/8 render text ugly when fading in and out, it's better to make text has no transition effect on IE7/8.
Instead of the following long-winded code, can we re-write one option value (ex: speed) only for IE7/8 after the text scroller has been launched?
I have a javascript that will take whatever was entered on this form and send it to the new URL (without submitting), but for some reason - it doesn't work anymore. i've changed things around, & probably messed soemthing up.
Code:
$('#cb_ht2').click(function() { // Reset incase Data Changed[code].....
I think i may have messed it when when adding that target-"_parent", it needs to pop a new window
Any body succeed in adding file browser option to standard CKEditor developed completely with JavaScript.I have followed the link [URL]. it is too complex to understand.If any succeed with this or adding file browser option to simple notepad app
I need to have someone give me a hint or show me an example where I can retrieve all the values of the options of a dropdown list, also I've created a dropdown list with Jquery and it looks good in all browsers EXCEPT IE7???? I thought that jquery was cross-browser compatible???
The function "addPhrase" is where i know i'm having the difficulty - so for now I've forced it to show one value only:
'// The form name is AMANDA
function addPhrase() { document.AMANDA.js_strMemberMail.value = document.AMANDA.js_strPreDefCatList.value + ", " ;}
What I think I want is to be able to build up a string of values and write them out to the textarea (hence the ", "). With the option that more can be added, without deleting what's currently there.
I want the drop down to "activate" the option values in the input field. So, when the user changed the options, they wil automatically appear int he input field.
I wonder if anybody can give me a hint about what I have to do to get this working: I am creating a drop down box using the script below. The
result is two text fields; now I want to pass those values, which come from the drop down box, to the next page. The next page should then simply look like this:
Month:
Year:
And the values should be the ones from the drop-down box... I have been staring myself blind about how to get this accomplished. Would be more than grateful if somebody could have a look...here is what I got so far: Code:
I would like to have my javascript pass some variables it gets to a php page I have to log the inputs. The inputs are collected in forms but I want the logging to be completely hidden from the user. Any suggestions?
I have a list of images on the left side of the screen. On the right side I have an iframe for the picture and some text to be displayed. I can create individual pages for this, however I would rather create dynamic pages for this. I would love to be able to have a link on the left side that will send an image filename along with some text to the iframe, so I don't have to create so many smaller files. Has anyone done this?
I was wondering if I can pass my php variables through javascript function. Actually i have a simple table of pictures, when clicked in the picture a new popup page comes up, it working fine uptill this stage but now I want to pass a value through it, for instance if user clicks on picture1 then my popup url should be "item_large.php?id=pic1.
My Javascript junction for the popup window: function popup() { window.open("item_large.php","Register","menubar=no,width=500,height=400,toolbar=no"); }
My Html code where I have my pictures: <td height="19" align="center" valign="top" onmouseover="this.bgColor='#CC3300' ; this.style.cursor='pointer'" onmouseout="this.bgColor='#FFFFFF'" <A HREF="javascript:popup()">Picture01</A> </td>
I need to pass an array of client side events to the next page. Here my user would perform a few events which would be stored in a javascript array, upon completion a submit button would be used to post all that data to the next page.
An example of such a process is listed below, returning that array back to php so that I can post it to the next page. I am trying to populate different entries made into textbox into the array arr. And when I would click the submit button, I want to post that array.
<html> <head> <script type='text/javascript'> function retText(form)
[Code]....
I want to return that arr back and on post I want to send that array to the next page.
From: <input type="text"id="from"value="03.10.2010" size="12" /> do: <input type="text" id="to"value="09.10.2010"size="11" /> <input type="submit" /> --> I tried to do it with function ".val();" but value are keeping steady. It can be done any other jQuery function?
A <select> box is dynamically created based on a table in the database. Using jQuery, the user can then select multiple email addresses (the value of the options in the select box), and remove them from the select box completely. This leaves only the email addresses the user wants to include in the email.
The problem I've encountered is that the once the user is done removing options they don't wish to include, they have to then select all the remaining options before hitting submit in order for the mail processor to see them as addresses to include.I was thinking maybe instead of the submit button, I just create another button tied to a jQuery function that selects all the remaining values, and then submits the form for the user?
I am working on an interest and investment calculator for a class project. On my list of drop down options, one of the options isnt an integer value like the rest. It's value is "other", while the other three are 1000, 5000, 1000, and 25000. What I would like to do is when the user chooses the "other amount" option from the drop down list, a prompt window will come up asking the user for an investment amount. I am having problems creating a function in my javascript file for this, and then taking the value entered and assigning a variable in another function with that new value so that it calculates with the users input. Please help. The first part of the attachment is the label with the "other" value I explained. And the second piece of code is my mess of a function that I tried to create for the prompt window to come up and store the users value and then change the value of the option.
I need "description1" to be passed as the text (or hidden text) "Disaster Relief Fund" and I need a separate hidden text "item1" to be passed as "3563".