jquery and django challenges

2021-10-16 Thread Eugene TUYIZERE
Dear all, on the code below I want to replace the code: "ajax": "nestedData.txt", with the url (a python function created) How can I do it? Please help /* Function for child row details*/ function getChildRow(data) { // `data` is the data object for the row

Re: Ajax, jQuery and Django

2020-10-11 Thread Dvs Khamele
> (15, '00617', 'Barceloneta', 'PR'), > (16, '00622', 'Boqueron', 'PR'), > (17, '00623', 'Cabo Rojo', 'PR'), > (18, '00624', 'Penuelas', 'PR'), > (19, '00627', 'Camuy', 'PR'); > If user enters zipcode, Then state and city column should be auto fill by > using database of zip code

Re: Ajax, jQuery and Django

2020-10-11 Thread Dvs Khamele
> (15, '00617', 'Barceloneta', 'PR'), > (16, '00622', 'Boqueron', 'PR'), > (17, '00623', 'Cabo Rojo', 'PR'), > (18, '00624', 'Penuelas', 'PR'), > (19, '00627', 'Camuy', 'PR'); > If user enters zipcode, Then state and city column should be auto fill by > using database of zip code i

Re: Ajax, jQuery and Django

2020-10-05 Thread Eugene TUYIZERE
10, '00611', 'Angeles', 'PR'), >>> (11, '00612', 'Arecibo', 'PR'), >>> (12, '00613', 'Arecibo', 'PR'), >>> (13, '00614', 'Arecibo', 'PR'), >>> (14, '00616', 'Bajadero', 'PR'), >>> (15, '00617', 'Barceloneta', 'PR'), >>> (16, '00622', 'Boqueron

Re: Ajax, jQuery and Django

2020-10-05 Thread RANGA BHARATH JINKA
; (18, '00624', 'Penuelas', 'PR'), >> (19, '00627', 'Camuy', 'PR'); >> If user enters zipcode, Then state and city column should be auto fill by >> using database of zip code in django and jQuery . >> Please let me know how to do this. >> >> Thank You, >>

Re: Ajax, jQuery and Django

2020-10-05 Thread Kunal Solanke
', 'Penuelas', 'PR'), > (19, '00627', 'Camuy', 'PR'); > If user enters zipcode, Then state and city column should be auto fill by > using database of zip code in django and jQuery . > Please let me know how to do this. > > Thank You, > ~Salima > > -- > You

Ajax, jQuery and Django

2020-10-05 Thread Salima Begum
, '00622', 'Boqueron', 'PR'), (17, '00623', 'Cabo Rojo', 'PR'), (18, '00624', 'Penuelas', 'PR'), (19, '00627', 'Camuy', 'PR'); If user enters zipcode, Then state and city column should be auto fill by using database of zip code in django and jQuery . Please let me know how to do this. Thank You, ~Salima

Ajax, jQuery and Django

2020-10-05 Thread Salima Begum
, '00622', 'Boqueron', 'PR'), (17, '00623', 'Cabo Rojo', 'PR'), (18, '00624', 'Penuelas', 'PR'), (19, '00627', 'Camuy', 'PR'); If user enters zipcode, Then state and city column should be auto fill by using database of zip code in django and jQuery . Please let me know how to do this -- You received

Re: jquery and django template

2015-11-05 Thread Collin Anderson
Hi, Are you trying to show the user what filters are being applied to the data, or are you trying to filter the data based on a user selection? Collin On Monday, November 2, 2015 at 2:51:36 AM UTC+1, varun naganathan wrote: > > I basically have the database entries in the namespace of my

jquery and django template

2015-11-01 Thread varun naganathan
I basically have the database entries in the namespace of my template.I basically need to get the filter i want to apply on the databse entry using data available from user selection(using jquery).Any suggestions on how i can achieve this? -- You received this message because you are

Trying to Build File Upload using jQuery dialog (jQuery 1.10.2/django 1.7/Python 2.7.8)

2015-05-29 Thread Henry Versemann
I'm constructing my file-upload dialog using jquery(jq)/javascript/html where the file-upload is supposed to begin like this: htmlStr = 'SELECT FILE TO UPLOAD:'; jq("#upldfildialog").append(htmlStr); Everything seems to work except for actually being able to capture the file

Re: Can not include jquery in django template

2014-09-23 Thread Collin Anderson
You need -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to

Re: Can not include jquery in django template

2014-09-23 Thread Fred Stluka
Change it to: --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no

Can not include jquery in django template

When I try to include jQuery to my template index.html, I get an blank page. Html source code is loading but I get just white page -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from

Re: Any API for dojo/jquery in django template language ?? For dojo i need urgently , thanks

I'm not sure I understand your question. You can use jQuery and/or Dojo in your Django template the same as you would anywhere else. If you want nice integration between Django forms and Dojo dijits, you might be interested in Dojango: https://github.com/klipstein/dojango/ _Nik On 9/16/2013 11:06

Any API for dojo/jquery in django template language ?? For dojo i need urgently , thanks

-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com.

Re: jquery in django

On 13:20 Mon 01 Jul , Christian Erhardt wrote: > Hey Harjot, > > i can't provide an easy answer to your question. An Ajax enabled search with > django is nothing, that one programs in 30 minutes especially not if he has > no understanding of query and or ajax. > > I'll try to give you some

jquery in django

Hey Harjot, i can't provide an easy answer to your question. An Ajax enabled search with django is nothing, that one programs in 30 minutes especially not if he has no understanding of query and or ajax. I'll try to give you some hints but not a complete plug n play solution. First things

Re: jquery in django

Harjot... the answer to your question is YES you can use ajax in yours project... but you do that on yours templates. you must to download http://code.jquery.com/jquery-2.0.2.min.js in some directory where django can find when render your template, then in your template must add this line that

Re: jquery in django

I really think your problem is not Django related, I suggest you to learn JQuery and post your doubts on related group. 2013/7/1 Harjot Mann > On Mon, Jul 1, 2013 at 10:50 PM, François Schiettecatte > wrote: > > Hi > > > > jQuery is not a

Re: jquery in django

On Mon, Jul 1, 2013 at 10:50 PM, François Schiettecatte wrote: > Hi > > jQuery is not a search engine but a JavaScript library which helps you build > interactive web pages (and much more, see http://jquery.com ) . > > If you want a search engine, I suggest you look at

Re: jquery in django

On Mon, Jul 1, 2013 at 10:41 PM, Harjot Mann wrote: > I am workng on an automation project in which I want to make search > which should be a very good search meanwhile it is working but it is a > simple search. I want that when I type something in search box it > should

Re: jquery in django

Hi jQuery is not a search engine but a JavaScript library which helps you build interactive web pages (and much more, see http://jquery.com ) . If you want a search engine, I suggest you look at SOLR, there are a number of python libraries which would help you interact with that. A word of

Re: jquery in django

Say what you try, show your models and your code and maybe we can help or try to find a package that suit your needs: https://www.djangopackages.com/search/?q=search Your first post was not django related and now is lacking information, we can't guess what you're doing correctly or wrong.

Re: jquery in django

On Mon, Jul 1, 2013 at 10:34 PM, Gabriel wrote: > Hey Harjot, > Could you please provide more details on what you're trying to do? I have a > feeling it's actually outside of what Django does, but there's still lots of > people here who could help you out. I am workng on an

Re: jquery in django

Hey Harjot, Could you please provide more details on what you're trying to do? I have a feeling it's actually outside of what Django does, but there's still lots of people here who could help you out. - Gabe On Mon, Jul 1, 2013 at 1:53 PM, Harjot Mann wrote: > On Mon,

Re: jquery in django

On Mon, Jul 1, 2013 at 9:57 PM, Sandro Dutra wrote: > Its not working. I want to jquery ajax for search function. -- Harjot Kaur Mann Blog: http://harjotmann.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: jquery in django

Open your template and type: And code. 2013/7/1 Harjot Mann <harjotmann1...@gmail.com> > How can I embed jquery in django for searching??? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To un

jquery in django

How can I embed jquery in django for searching??? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.co

Re: Problem with Jquery over Django

Check out "How to handle static files" from this page: https://docs.djangoproject.com/en/1.4/#the-development-process. Also note that the links on this page can help answer a lot of the basic questions about Django for you. Django has a built-in app to handle static files, and cases such as

Re: Problem with Jquery over Django

Ok to solve that thing quickly for now I just copied the whole JS file into my HTML, another problem we're facing here is that I get the name of the file dynamically like the following swfobject.embedSWF("{{lecture.lectureFile}}", "myAlternativeContent", "800", "600", "9.0.0", false, flashvars,

Re: Problem with Jquery over Django

Hi You need understand the different between open the html directly in you browser with open it from a web server. Check your static file setting and load it, is it returning the js or not On May 17, 2012 12:18 AM, "Marcin Tustin" wrote: > Host your JS on your server,

Re: Problem with Jquery over Django

Host your JS on your server, and use an absolute URL. This is what the STATIC_URL setting is for. On Wed, May 16, 2012 at 5:15 PM, Amr Abdel-wahab < amr.mohamed.abdelwa...@gmail.com> wrote: > Oh ok, then can you give me a solution? > > -- > You received this message because you are subscribed to

Re: Problem with Jquery over Django

And I am sorry for bothering you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For

Re: Problem with Jquery over Django

Oh ok, then can you give me a solution? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

Re: Problem with Jquery over Django

Once again: You have a relative url for your JS. This is expanded to a different location depending on where it is served from. This means that in one case, your browser can find the file on the filesystem, but in the other, it tries to pull it from your server. On Wed, May 16, 2012 at 5:03 PM,

Re: Problem with Jquery over Django

It just doesn't work if rendered but the same exact file does work if I opened it in a browser view -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this

Re: Problem with Jquery over Django

Man it's the same exact file, from the same directory and everything -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

Problem with Jquery over Django

That's an example of a code, this exact file works fine if I just double clicked it, but if when I render that HTML from a django view the java scripts stops, This is really odd because the same exact file runs out side the project if I just double clicked it as a HTML file, but if I just try to

Jquery/ajax + django

Hello, I've gotten this json object back from django. I was wondering how do we use ajax/jquery to retrieve just the words that are highlighted? I'm stumped. {"new_list":{"blue": {"sub_datetime": "2012-02-29 22:14:44", "exp_datetime": "2012-03-07 22:14:44", "keyword": "blue"}, "teleport":