언어 설정

Menu
Sites
Language
Css and js Error in TIZEN ?

 

I'm developing application in tizen IDE now.

But, I found css or js problem.

 

When I set css in ".css" , my app didn't apply it.

But when I set css using "style tag" into html object, it was working.

 

Js has also similar problem.

$("test").click(function() {

     blah blah blah

});

do not working !

but "onClick=test()" is working

 

(For sure, I loaded js and css using <link> and <script> tag into <head>)

Why is it happening ?

 

Thanks,

Jenny

 

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

14 댓글
Jenny Blossoms
Ah, And I'm just testing in Emulator and simulator cuz I don't have tizen phone.
talari praveen kumar
please include below tags and also if "test" in your code is an "id" then try like this $('#test').click(function(){}); if it is a "class" $('.test').click(function(){});
talari praveen kumar
please include the tags <script type="text/javascript" src="./js/main.js"> <link rel="stylesheet" type="text/css" href="./css/style.css"/>
Jenny Blossoms
Thanks kumar :) But I already checked it is '#' or '.' and included