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
> (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
> (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
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
; (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,
>>
', '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
, '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
, '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
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
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
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
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
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
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
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
--
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.
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
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
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
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
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
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
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
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.
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
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,
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.
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
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
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
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,
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,
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
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
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
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,
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
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
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
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":
40 matches
Mail list logo