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
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;
> 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
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
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,
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
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
7 matches
Mail list logo