Re: How to send email from html?

2011-04-17 Thread Mengu
that is actually jquery code, mixed with a django template variable.

$ is an alias for jquery which lets you do some nice things with it.
you can also replace it with "jQuery('#send_..')".

#send_{{ forloop.counter }} means the element with id "send_x". x
there is whatever the current forloop.counter is.

so the whole code "$('#send_{{ forloop.counter }}').submit();" means
"submit the dom element which has the id of 'send_x'"

On Apr 17, 6:47 pm, LIU Liang  wrote:
> I want to realize the e-mail verification for the social network.
> But not clear about the code below:
> what does the '$' and the '#' mean? and the method 'submit()?
>
>     {% trans "re-send
> verification e-mail" %}
>
> I want that after clicking the button 'Verify', it should send out an
> e-mail. However, I have copied the apps account and emailverfication
> to my project. but it doesn't work. I need help please.

-- 
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.



How to send email from html?

2011-04-17 Thread LIU Liang
I want to realize the e-mail verification for the social network.
But not clear about the code below:
what does the '$' and the '#' mean? and the method 'submit()?

{% trans "re-send
verification e-mail" %}

I want that after clicking the button 'Verify', it should send out an
e-mail. However, I have copied the apps account and emailverfication
to my project. but it doesn't work. I need help please.

-- 
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.