• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
session problem in pagination

#15
[eluser]rajyakshmik[/eluser]
Can u help me how to include ajax in view...
I written code like this in view
Code:
<input type="image" src="images/getcouponbtn.jpg" border="0">

Code:
function generate()
{

    
        var url = "http://colonizer1/dealfrontier/main/generatecode/";
        
        var myAjax = new Ajax.Request(url,
        {onSuccess: function(transport)
        {
            document.getElementById('coupon').style.display = 'block';
            $('coupon')[removed] = transport.responseText;
        }
        });
    

}
this will work?


Messages In This Thread
session problem in pagination - by El Forum - 04-27-2009, 01:33 AM
session problem in pagination - by El Forum - 04-27-2009, 01:40 AM
session problem in pagination - by El Forum - 04-27-2009, 01:50 AM
session problem in pagination - by El Forum - 04-27-2009, 03:39 AM
session problem in pagination - by El Forum - 04-27-2009, 03:43 AM
session problem in pagination - by El Forum - 04-27-2009, 03:55 AM
session problem in pagination - by El Forum - 04-27-2009, 03:58 AM
session problem in pagination - by El Forum - 04-27-2009, 04:02 AM
session problem in pagination - by El Forum - 04-27-2009, 04:18 AM
session problem in pagination - by El Forum - 04-27-2009, 04:24 AM
session problem in pagination - by El Forum - 04-27-2009, 04:48 AM
session problem in pagination - by El Forum - 04-27-2009, 04:52 AM
session problem in pagination - by El Forum - 04-27-2009, 04:57 AM
session problem in pagination - by El Forum - 04-27-2009, 05:01 AM
session problem in pagination - by El Forum - 04-27-2009, 05:08 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.