views:

55

answers:

2

I am trying to get javascript framework XUI working, but having trouble getting it to work on any desktop browser. More on XUI here... http://xuijs.com/documentation

<script type='text/javascript' src='xui-more-1.0.0.min.js'></script>
<!-- <script type='text/javascript' src='xui-bb-1.0.0.min.js'></script>  -->

<script>

   x$('button').click(function(e){ 
        alert('tee hee!');
    });

   x$('a.navigation').css({ background:'yellow' });

   alert("at least this works!");
</script>

<a href='http://google.com' class='navigation' >this is a link</a>
<br><br>
<input type='button' id='button' value='click me!'>
A: 

Mozilla and IE. No errors!

robert
A: 

Robert- No errors, but it don't work!

try:

   x$('#img_del1').on( 'click', function(e){    

Also move the js to the bottom of the page.

I haven't found equivalent for $(document).ready() in XUI.

robert