Link to home
Start Free TrialLog in
Avatar of altariamx2003
altariamx2003Flag for Mexico

asked on

wich jquery library do I need to use????

Hi

I hope you can help me on this one

http://www.grupossc.com/ajax_test.php

In that example I use ajax to call php code from ajax_test.php and  use it in test.php when the I click under "1 edicion"

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
------------------------------------------------------------------------------------------------------------------------------
<script type="text/javascript">
$(function() {
$(".busqueda").click(function(){
var element = $(this);
var del_id = element.attr("id");
var del_name = element.attr("name");

var info = 'rID=' + del_id;

		

                function loadData(page,del_id,del_name){
                    $.ajax
                    ({
                        type: "POST",
                        url: "ajax_result.php",
						data: 'page='+page+'&rID='+del_id+'&tID='+del_name,
                        success: function(msg)
                        {
                            $("#"+del_name+del_id).ajaxComplete(function(event, request, settings)
                            {
                                $("#"+del_name+del_id).html(msg);
                            });
                        }
                    });
                }
                loadData(1,del_id,del_name);  
                $('.container .pagination1 li.active').live('click',function(){
                    var page = $(this).attr('p');
                    loadData(page,del_id,del_name);
                    
                });           

});
});		

        </script>
-------------------------------------
	<div id="I_23114121719" name="gal" class="busqueda fila" style="width: 1010px;"><a href="#"><font class="marcador2">1 edición</font></a></div>
		<ul class="container" id="galI_23114121719" style="display: table; width: 1010px;">
	       <div class="fila" style="text-align:left; width: 1010px;">
	           <div class="data" style="width: 1010px;"></div>	   
           </div><br>	   

	       <div class="fila" style="text-align:right; width: 1010px;">
	   	       <div class="pagination" style="width: 1010px;"></div>
	       </div>
        </ul> 

Open in new window

And It works without a problems.

But now I need to use it in other page that use the lastest version of jquery ui dialog and my code only works with the version 1.4.2 of jquery.min.js.

I would like to know what I need to do to use it the last version of jquery : http://code.jquery.com/jquery-latest.min.js with this code

Best regards
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of altariamx2003

ASKER

thanks gary, that works