...

View Full Version : assume that dalia[i].email is known



thenextbesthang
11-01-2006, 09:58 PM
"<a href='dalia[i].email'>'dalia[i].email'</a>"

whats wrong with the sentence
basically, i want to have a working clicking link to dalia[i].email come out to be whatever email is at instance i in array dalia

BarrMan
11-01-2006, 10:10 PM
add javascript: before the javascript codes inside the <a> tag.

<a href="javascript: dalia[i].email"><script>dalia[i].email</script></a>

Also, I'm almost convinced that it won't work unless you built it in classes.

cenze
11-01-2006, 10:14 PM
looks like you might have a script kicking this out... maybe you need
"<a href="\"+dalia[i].email+"\">"+dalia[i].email+"</a>"??

thenextbesthang
11-01-2006, 10:21 PM
cenze;
yours is returning

NaNsuco@mail.farga.edu

suco is what i put in for the email

thenextbesthang
11-01-2006, 10:22 PM
except i only want suco...not NaN

thenextbesthang
11-01-2006, 10:35 PM
nvm got it, correct syntax was

"<a href=/"+dalia[i].email+"/>"+dalia[i].email+"</a>"



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum