Romi:

Please review:
http://wiki.apache.org/solr/UsingMailingLists

This is the Solr forum. jQuery questions are best directed at a
jQuery-specific forum.

Best
Erick

On Fri, Jun 3, 2011 at 2:27 AM, Romi <romijain3...@gmail.com> wrote:
> lee carroll: Sorry for this. i did this because i was not getting any
> response. anyway thanks for letting me know and now i found the solution of
> the above problem :)
> now i am facing a very strange problem related to jquery can you please help
> me out.
>
> $(document).ready(function(){
>         $("#c2").click(function(){
>            var q=getquerystring() ;
>
>
> $.getJSON("http://192.168.1.9:8983/solr/db/select/?wt=json&q="+q+"&json.wrf=?";,
> function(result){
>                $.each(result.response.docs, function(i,item){
>                    alert(result.response.docs);
>                    alert(item.UID_PK);
>                });
>            });
>        });
>        });
>
>
> when i use $("#c2").click(function() then it does not enter in $.getJSON()
> and when i remove $("#c2").click(function() from the code it run fine. Why
> is so please explain. because i want to get data from a text box on
> onclickevent and then display response.
>
>
>
> -----
> Thanks & Regards
> Romi
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/how-to-make-getJson-parameter-dynamic-tp3014941p3018732.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to