URGENT!!..can't use jQuery JavaScript Library v1.5 and jQuery 1.2.3 min !!

Discussion in 'jQuery' started by ankifreeze, Feb 16, 2011.

  1. #1
    hello....urgent...I have to finish my project this week....I have to use JavaScript Library v1.5 and jQuery 1.2.3.... but when I use them in same time,my script doesn't work.....I make chatnox like facebook...I use JavaScript Library v1.5 for make pop up window and I use jQuery 1.2.3. to post message....when I didn't use jQuery 1.2.3. I can open window but can't post message....when I didn't use JavaScript Library v1.5 I can post but I can't open new window for chat.....I can't use another method beside this ... any suggestion?


    I use this jquery to post
    $(document).ready(function() {
    
    
    	$('#myForm').submit(function() {
    		$.ajax({
    			type: 'POST',
    			url: $(this).attr('action'),
    			data: $(this).serialize(),
    			success: function(data) {
    				$('#result').html(data);setInterval(this,2000);document.myForm.reset();
    			}
    		})
    		return false;
    	})
    })
    Code (markup):
    and I use this jquery to make pop up window
    $.window({
       title: "complext window",
       content: $("#window_block5").html(), 
       x: 150,               
       y: 100,              
       width: 600,           
       height: 300,          
       minWidth: 200,        
       minHeight: 100,      
       maxWidth: 700,        
       maxHeight: 400,       
       scrollable: false,   
       onOpen: function(wnd) { 
          alert('open');
       },
       onShow: function(wnd) {  
          alert('show');
       },
       onClose: function(wnd) { 
          alert('close');
       },
       onSelect: function(wnd) {
          log('select');
       },
       onUnselect: function(wnd) { 
          log('unelect');
       },
       onDrag: function(wnd) { 
          log('drag');
       },
       afterDrag: function(wnd) { 
          log('after dragged');
       },
       onResize: function(wnd) { 
          log('resize');
       },
       afterResize: function(wnd) { 
          log('after resized');
       },
       onMinimize: function(wnd) { 
          log('minimize');
       },
       afterMinimize: function(wnd) { 
          log('after minimized');
       },
       onMaximize: function(wnd) { 
          log('maximize');
       },
       afterMaximize: function(wnd) { 
          log('after maximized');
       },
       onCascade: function(wnd) { 
          log('cascade');
       },
       afterCascade: function(wnd) { 
          log('after cascaded');
       }
    });
    Code (markup):

     
    ankifreeze, Feb 16, 2011 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What is "Javascript Library 1.5"? Do you actually mean jQuery 1.5?
    If that is the case, use that version and not the older one.
     
    Cash Nebula, Feb 16, 2011 IP
  3. ankifreeze

    ankifreeze Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I don't know but I have to use both of them...if I don't use one of both, my script doesn't work......but I find another way yesterday...but I still don't know how to fix it.....you can see at http://makingmoney-formula.com/sample.php

    I want to post using jquery or ajax but I still don't know what method I should use.......
     
    ankifreeze, Feb 16, 2011 IP