문제

I need a solution for this, I am using bPopup plugin

But, I believe that it's a simple jQuery function. I need to pass single variable, say sales id when someone clicks the tag

Following is the function code, please suggest me some way to achieve it

$("a.sales_info").bind("click", function(){
            $("#popup").bPopup({contentContainer:'#pContent',loadUrl:"test.html p"});
            return false
});

Thanks

도움이 되었습니까?

해결책

I have achieved above thing using "this" for example this.id

Thanks Everyone for all the help & support.

Still, suggestions/comments are welcome :)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top