Using the jquery plugin : confirmon
I would like to find a way to position this confirmation box dynamically.
But the classic jquery way is not working :
$('.confirmon-box').css('top','800');
Are there any alternatives?
Since no alternatives are available, changed from plugin, using a more customizable now: Zebra_Dialog
Related
How to make searchable dropdown in html using any library or simple javascript like this? Because this searchable dropdown is very elegant.
you can use jqueryui combobox auto complete plugin as well, the link below gives the functionality and below fiddle also gives a working code
You can try Chosen. This plugin contains the element which you want. It is simply jQuery plugin with advanced options.
Thanks.
My bet is Select2 which can be customised to the extent you want and is easy to learn and use... It also has support for call back function like integrating user input if not present in dropdown.
i'm currently developing a simple GUI for my mozilla plugin using JSP. In that Gui,i want to create a prompt box with two input fields with drop-down list option. Is it possible with javascript prompt box option?
Not possible with the default window.prompt(); function but you can roll your own overlay or use something like the jQuery UI dialog.
It isn't possible to do this with pure JS prompt boxes, but you can use a library like jQuery UI or Bootstrap.
I'm trying to create a website and I've been trying to create something which will open new content when clicked on, somewhat like Facebook has on the pictures: You click, Get a window with the picture and text area for commenting. I'm specifically trying to avoid popups because I don't find them very neat.
Does anybody know how i could create this/ have any tutorials? Is this extremely complex?
Have a look at jquery ui:
http://jqueryui.com/demos/dialog/
You can not avoid a popup. The only difference is that using a javascript framework like jquery you can have a beautiful popup.
So use the jquery dialog box to display the image and textbox for commenting. Using ajax you can save the comment and exit the dialog box. The trick is to make good use of css and opacity on the dialog box.
I am using jquery chosen plugin https://github.com/harvesthq/chosen/ to make my select form fields pretty. Here is the demo page for chosen plugin https://github.com/harvesthq/chosen
I was thinking if it is possible to make tags like stackoverflow using chosen plugin because some of its feature looks alike. I am also like to know how do i use chosen with ajax to add tag suggestions.
I could use one of those jquery tags out there but i would like to know if i can do it using chosen so i don't need to add another script with my page.
Let me know if you need to know anything more.
All that you have to do is to modify the select box with an ajax request. Than use :
$("#form_field").trigger("list:updated");
to tell "chosen" that the list has been updated.
Yes, all of what you ask is possible. From my answer to "Is there a way to dynamically ajax add elements through jquery chosen plugin?":
Take a look at the neat Select2 plugin, which is based on Chosen itself and supports remote data sources (aka AJAX data) and infinite scrolling.
The koenpunt fork of chosen has the functionality you want. More info here
i' like to make some jquery widget, which will have behavior like jquery ui datepicker:
it should appears when focus on input tag and this widget and should be hidden when
user mouse focus not in this widget and input tag,
can you help me to say the right way to implement this behavior
thanks
look at re: in this page:
http://forum.jquery.com/topic/invoke-function-on-datepicker-cell-hover
i think you should use one of datepickers like this one http://jqueryui.com/demos/datepicker/ it is easy to use and probably implementing will take shorter time than developing it