cucumber Posted October 26, 2006 Report Share Posted October 26, 2006 ir koda gabals <a href="java script:emoticon('style= ')">css</a> kas uzspiezot uz css text area ieliks tekstu style= Ka uzrakstit, lai varetu ielikt style="" ? Link to comment Share on other sites More sharing options...
andrisp Posted October 26, 2006 Report Share Posted October 26, 2006 hm.. kas notiek, ja raksta style="[...]" ? Bet diezvai Īsti nezinu kā šajā gadijumā eskeipt (ja vispār var). Link to comment Share on other sites More sharing options...
hmnc Posted October 29, 2006 Report Share Posted October 29, 2006 (edited) kur tev tas style jāieliek? ja gribi padot parametru objektam tad to dara citādāk: document.getElementById('obj').style.param = 'value'; Edited October 29, 2006 by hmnc Link to comment Share on other sites More sharing options...
andrisp Posted October 29, 2006 Report Share Posted October 29, 2006 Viņam emoticon ir wrapper fja kautkāda cik noprotu. Labāk būtu taisīt šādi: <a href="java script:emoticon('propertijs', 'vērtība')">css</a> Link to comment Share on other sites More sharing options...
Stopp Posted October 30, 2006 Report Share Posted October 30, 2006 <a href="java script:emoticon('style='+unescape('%22%22'));">css</a> kaut kā šitā. man strādāja. vārdu sakot skaties uz escape un unescape Link to comment Share on other sites More sharing options...
tiy Posted November 1, 2006 Report Share Posted November 1, 2006 (edited) Nu nez man Stopp tavs variants negaja, bet shitais iet ka smerets; <a href="java script:emoticon('style=%22%22');">css</a> , sanak ka interprete %22 ka ". Edited November 1, 2006 by tiy Link to comment Share on other sites More sharing options...
GedroX Posted November 1, 2006 Report Share Posted November 1, 2006 Man liekās, ka " strādā bez problēmām. Link to comment Share on other sites More sharing options...
Roze Posted November 1, 2006 Report Share Posted November 1, 2006 A kapēc nevar vienkārši eskaipot tb \"? <script> alert("lala pedinas \"\" zum zum"); </script> Link to comment Share on other sites More sharing options...
GedroX Posted November 1, 2006 Report Share Posted November 1, 2006 (edited) Roze --> Prasa, ko darīt, ja skripts ir iekš taga. (onclick="") Edited November 1, 2006 by GedroX Link to comment Share on other sites More sharing options...
Roze Posted November 1, 2006 Report Share Posted November 1, 2006 Nu jair iespēja tad var samainīt ' ar " proti: <a href="#" onClick='alert("lala pedinas \"\" 2 zum zum")'>aa</a> Bet nu savādāk ganjauka ar quot.. Link to comment Share on other sites More sharing options...
Recommended Posts