Re: Where Is My Javascript Code's Problem?

2011-01-24 Thread Piotr Zalewa
I think you wanted something like this to happen: http://jsfiddle.net/zalun/96vsU/ zalun On 01/21/11 21:41, hank23 wrote: > I was actually hoping to see the results of the code altering the > screen fields dynamically when I click the button to call the > javascript function. So if this won't do

Re: Where Is My Javascript Code's Problem?

2011-01-21 Thread Marchegay Xavier
reciever => receiver ?? On Fri, Jan 21, 2011 at 10:01 PM, hank23 wrote: > Here's my javascript function code: > > function addRecipient() > { > alert("Entering addRecipient function!") > var list = document.getElementById('recipientlist'); > var rlist = list.value;

Re: Where Is My Javascript Code's Problem?

2011-01-21 Thread Ivo Brodien
> reciever.value = “”; should be reciever.value = rlist; btw: this is a django list and not JavaScript. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from

Re: Where Is My Javascript Code's Problem?

2011-01-21 Thread hank23
I was actually hoping to see the results of the code altering the screen fields dynamically when I click the button to call the javascript function. So if this won't do it, then how do I through the javascript function code cause the screen fields to be refreshed when the code changes them? On Jan

Re: Where Is My Javascript Code's Problem?

2011-01-21 Thread Mo J. Al-Mughrabi
Lol Sent from my iPhone On Jan 22, 2011, at 12:34 AM, Sandro Dutra wrote: LOL! What are you trying to do, guy? It's obvius the alert box will appear, 'cause it's a visual element. But the rest of the code only set a bunch of variables, it's not printing anything, it's not launching any alert,

Re: Where Is My Javascript Code's Problem?

2011-01-21 Thread Sandro Dutra
LOL! What are you trying to do, guy? It's obvius the alert box will appear, 'cause it's a visual element. But the rest of the code only set a bunch of variables, it's not printing anything, it's not launching any alert, so what are you waiting to happen? 2011/1/21 hank23 > Here's my javascrip

Where Is My Javascript Code's Problem?

2011-01-21 Thread hank23
Here's my javascript function code: function addRecipient() { alert("Entering addRecipient function!") var list = document.getElementById('recipientlist'); var rlist = list.value; var reciever = document.getElementById('recipient'); rlist = rli