Javascript

aleksa77

Client
Регистрация
30.09.2011
Сообщения
914
Благодарностей
90
Баллы
28
I use some codes from http://www.w3schools.com/js/js_ex_dom.asp , and put on some template, use DOM from some page and put java script :


"{-Variable.text-}"
<script>
document.write(document.anchors[0].innerHTML);
</script>



But nothing, i try with ' ' , without quotes.

I try on javascript test but allways is error.
 

traumatic

Client
Регистрация
22.10.2012
Сообщения
10
Благодарностей
1
Баллы
0
I try on javascript test but allways is error.
I also wasn't able to manage even the simpliest things in Zenno-Javascript so I decided to manipulate the DOM in C#:

This may not help you directly but could give you an idea:

http://zennolab.com/discussion/showthread.php?6832-some-trouble-about-the-quot-POST-Request-quot&p=44495&viewfull=1#post44495

http://zennolab.com/discussion/showthread.php?6832-some-trouble-about-the-quot-POST-Request-quot&p=44543&viewfull=1#post44543
 

aleksa77

Client
Регистрация
30.09.2011
Сообщения
914
Благодарностей
90
Баллы
28
thanks, but this is not the solution for javascript, is it problem is that one of the admins, in one sentence, explain where we wrong and that's a mistake to us or to the program?

Example, i use opption "take dom" put this code in variable. Put javascript, and, i want to take first picture who have minimum 300 width .

What i type on javascript code and how? Example varibale for take dom is {-take-dom} ?

Thanks
 

traumatic

Client
Регистрация
22.10.2012
Сообщения
10
Благодарностей
1
Баллы
0
Yes of course it's no solution to the problem. I couldn't even get a simple "alert('hello world!');" to work which is why I don't think JavaScript is supported in a way we both wish it was.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)