0

I developed an application in JSPs and Servlets involving drop down menus that kept growing with how many authors per publication their were.

This was done in JavaScript and then in my application iterated through them using a loop. Is this possible using Django? This would be useful in my application.

1 Answer 1

1

This link might help you out if you don't want to dive into javascript (too much)

http://www.dajaxproject.com/

Or have a look at this stackoverflow question/awnser:

What is the best AJAX library for Django?

In any case, you need to serialize your array to a JSON string. Then pass the JSON with an XMLHTTPRequest (ajax) to the server.

Add the javascript tag to your question if you don't mind more JS solutions. Otherwise look for a Django Ajax framework to do the heavy lifting for you.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.