Cibiņš Posted November 6, 2011 Report Posted November 6, 2011 (edited) Nesaprotu kāpēc nevar atspoguļot pašu bildi pie AJAX uploada bet parāda faila vārdu ar tagiem priekšā pakaļā?? onComplete : function(file){ $('#example2 .text').text('<img src="./' + file + '" alt="Uploaded">'); } Parāda kā tekstu <img src="./failanosaukums.jpg" alt="Uploaded"> nevis kā attēlu.. Edited November 6, 2011 by Cibiņš Quote
0 briedis Posted November 6, 2011 Report Posted November 6, 2011 $('#example2 .text').html(), nevis .text() Quote
0 Cibiņš Posted November 6, 2011 Author Report Posted November 6, 2011 O bingo, super - LIELS paldies Tev :) Quote
Question
Cibiņš
Nesaprotu kāpēc nevar atspoguļot pašu bildi pie AJAX uploada bet parāda faila vārdu ar tagiem priekšā pakaļā??
Parāda kā tekstu <img src="./failanosaukums.jpg" alt="Uploaded"> nevis kā attēlu..
Edited by Cibiņš2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.