Jump to content
php.lv forumi
  • 0

Nedalec bloka stilošana ar AJAX


Cibiņš

Question

Kā lai izveido:

 

status.text('Atļauti IR tikai JPG, PNG or GIF faili');

 

lai izvada smuku erroru?

 

Tas ir -

status.text('<div class="kludaszinja"><img src="error_checkmark_red.png" width="19" height="19" alt="err_green" style="position: absolute; margin-left: -25px; margin-top: -1px;" />Atļauti IR tikai JPG, PNG or GIF faili</div>');

 

lapā izvadās kā teksts:

 

<div class="kludaszinja"><img src="error_checkmark_red.png" width="19" height="19" alt="err_green" style="position: absolute; margin-left: -25px; margin-top: -1px;" />Atļauti IR tikai JPG, PNG or GIF faili</div>

 

nevis kā smuks cssā stilizēts kļūdas bloks :(

Edited by Cibiņš
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...