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 it, then how do I through the > javascript function code cause the screen fields to be refreshed when > the code changes them? > > On Jan 21, 3:35 pm, "Mo J. Al-Mughrabi" <mo.mughr...@gmail.com> wrote: >> Lol >> >> Sent from my iPhone >> >> On Jan 22, 2011, at 12:34 AM, Sandro Dutra <hexo...@gmail.com> 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, so what are you waiting to happen? >> >> 2011/1/21 hank23 <hversem...@stchas.edu> >> >> >> >> >> >>> 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 = rlist + receiver.value + ", "; >>> reciever.value = ""; >>> } >> >>> I get the alert box just fine, but nothing seems to happen after that. >>> So what's wrong with the code as is and do I need to call some other >>> method to refresh the browser window to show the results of my >>> javascript having run, in order to see my screen change? >> >>> -- >>> 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 this group, send email to >>> django-users+unsubscr...@googlegroups.com<django-users%2Bunsubscribe@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/django-users?hl=en. >> >> -- >> 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 this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group >> athttp://groups.google.com/group/django-users?hl=en.- Hide quoted text - >> >> - Show quoted text - > -- blog http://piotr.zalewa.info jobs http://webdev.zalewa.info twit http://twitter.com/zalun face http://facebook.com/zaloon -- 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 this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.