Does anyone have a good way of using jQuery to make a nice dialog box for a contact list management type of application?
See what i'm look at is having a TO textbox, a SUBJECT textbox and a MESSAGEBODY text box to send an internal message to users. But I have no way of getting the username or id for the TO section. I was thinking of using a dialog box of some sort to get my list of my friends and then just select them and drop them back into the TO box.
Has anyone done this before with jQuery?
(04-14-2009 11:59 AM)papab30 Wrote: [ -> ]Does anyone have a good way of using jQuery to make a nice dialog box for a contact list management type of application?
See what i'm look at is having a TO textbox, a SUBJECT textbox and a MESSAGEBODY text box to send an internal message to users. But I have no way of getting the username or id for the TO section. I was thinking of using a dialog box of some sort to get my list of my friends and then just select them and drop them back into the TO box.
Has anyone done this before with jQuery?
You might want to try something like this:
http://devthought.com/wp-content/article.../test.html . If that is what you are looking for I might be able to help.
Very cool. I will look into this and see what parts of it I can use.
This is mootools, which I think is better, but not jQuery
@colum: I really don't understand what you're saying there. "This is mootools, which I think is better, but not jQuery"
Mootools is a different javascript library than jQuery. So different types of code. You can not use jquery code with the mootools library or vise versa.
Are you sure? As long as there are no namespace conflicts you should be able to drop in both file and make references in both. Why you would want to, I'm not sure, but from my understanding it is quite possible. Right now I'm making use of both jQuery and MS Ajax in the same applications with no problems, along with some raw custom javascript.
Now I suspect if you do find a library that has conflicting namespaces, you will end up with some very weird errors and things not acting like you excepted them to.
MooTools and jQuery overlap on some functions. For example:
jQuery
Code:
$("p.neat").addClass("ohmy").show("slow");
mooTools
Code:
$('p.neat').morph('ohmy');
The above code uses the same $ function. On each library, they have different ways of interacting with the same functions. jQuery has a great page describing on how to fix this.
http://docs.jquery.com/Core/jQuery.noConflict
If you are looking for jquery plugins, you can check
here
Although we all know that jQuery is better
