Passing dynamic values to load() function

Passing dynamic values to load() function

Hi all,

As i m new to JQuery, I have a question. I m working in ATG framework. I need to pass the dynamic parameters to the load function. PFA the JSP file.
$("#subCategory").click(function(){
        var productURL = "products.jsp?subid="+subid;
        $("prod").load(productURL,function(){});
   
    });

This subid i have to get from the <dsp> tags in my jsp.