• 0
Sign in to follow this  
Cerebro

Janela De Alerta Aparece Na Tela...

Question

ola pessoal..

gostaria de saber como faço pra aparecer uma janela de alert na pagina...

if valor < 0 then

alert ("o valor é menor que 0")

else

alert("o valor não é menor que 0")

end if

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

if valor < 0 then

response.write "<script>"

response.write "alert('o valor é menor que 0')"

response.write "</script>"

else

response.write "<script>"

response.write "alert('o valor não é menor que 0')"

response.write "</script>"

end if

abraço

Share this post


Link to post
Share on other sites
  • 0

ahan

é js mesmo

só que ao invés de fechar a tag asp, colocar script, e abrir a tag asp, eu usei o response.asp

Share this post


Link to post
Share on other sites
  • 0

hahaha não tinha reparado desculpe agora que vi!

ahhaa

bem legal desculpe mesmo a pergunta idiota

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this