In the demo, the overlay is displayed correctly and all elements underneath the overlay are disabled:
<div class="ui-widget-overlay" style="width: 1920px; height: 650px; z-index: 1001;"></div>
However, when I use the code in my page, I can still access the other controls underneath the overlay. Any ideas on how to fix? I've been loo...
Can anyone tell me how to make Gallery Formatter open a Colorbox modal when the slide is clicked? I have both modules installed as well as CCK, etc... Also, I have made sure that the colorbox library is properly installed, too! I know it is probably something simple, but it has eluded me up to this point! I am using the Drupal Colorbox m...
The below code is set up with jquery 1.4.2 and UI 1.8.4, plus the jquery iframe plugin.
The insides of the iframe disappear when I call .dialog(...). If I comment out the call to .dialog, the content is there in the iframe: visible in the window and also in the Chrome inspector. If I put the dialog back, the dialog appears just fine, bu...
Hi folks,
Is there anyway to see how long a simple $.getJSON method takes to call using some type of timing code, in jquery/javascript?
Secondly, is there any way to see how BIG the response Content-Length is, in kB or megabytes?
...
hello Friends,
I need to display the Items in the Listbox with Checkbox for each item. using jquery or asp.net mvc?
can any body tell me how to do this kind of thing?
thanks
...
Hey guys,
I've been having some issues with a pagination widget that I wrote in jQuery. Basically as the slideshow switches images and captions the pagination shifts moves an indicator along. The code works perfectly in FireFox but not in chrome, IE, Opera. Here's the jQuery.
function autoSlideshow(mode) {
var currentImage = $('...
dear all.
i have a form that consist of two textfield and one combobox.
i want prevent the duplicate entry data from client side.
i get combobox data from DB, like:
<select id="line" name="faline" >
<?php
$sql="SELECT `Line_Name` FROM `prod_sch` WHERE `Line_Name` LIKE 'FA %' GROUP BY `Line_Name` ORDER BY `Line_Name`";
if ($sql) {
...
i've managed to serialze a Dictionary collection. I return it from the webservice to jQuery ajax as a string then i place the return value into the javascript variable that i've declared as an array:
var myHistoryList = {};
....
success: function(retVal) {
myHistoryList = retVal.d;
...
Hi,
I have an element like so:
<a class='link' href='/page1'>Page 1</a>
It has a click handler attached like so:
$('.link').click(function() { loadPage('page1'); });
When the link is clicked, the new page loads. However, there are two ways of loading the new page. One is via AJAX, which figures out which elements have changed betwee...
I am new to jquery and Javascript and I am running into a problem which I hope somebody here will be able to solve. I have setup a jquery Cycle plugin to display some content in a div. Now I also have certain links load some different content in another div. Upon load, the cycle works fine, but when I click any of the links and load the ...
I have a servlet that needs a call like http://localhost:8080?a=1&a=3&a=2&b=5. The thing is it has multiple params with the same name like 'a' here. How can I generate such a servlet query. I used this for distinct param names.
$.ajax({
url: 'http://localhost:8080',
data: {a: 1, b: 2, c: 3},
success: function(response...
i'm using jquery in report section in my asp.net mvc project.But i had problem with jquery validation.Here code don't work and doesn't show any message when the date input text field is left blank.
$(document).ready(function() {
$("#FromDate").datepicker({ showOn: 'both', buttonText: "select Date", dateFormat: 'M d, yy' });
...
I have a grid with 2 editable cells, and can get the value of the current cell with:
var editedValue = this.value;
But how do I get the value of the other cell? Currently I'm using the very ugly:
var otherValue = this.parentNode.nextSibling.firstChild.value;
But this is not safe (and has cross browser issues).
http://www.trirand....
I'm having an annoying problem with jqGrid: Instead of scrolling the lines, it just keeps adding them one bellow the other and doesn't stop at a certain height. What am I doing wrong? :S
<head>
<link rel="stylesheet" type="text/css" media="screen" href="libraries/jquery/custom-theme/jquery-ui.custom.css" />
<link rel="stylesheet" type="...
I've tried all of the following:
$(#"tbxNote").attr("disabled", "disabled"); ////doesn't work
$(#"tbxNote").attr("disabled", "true"); //doesn't work either :)
tinyMCE.init( mode: "none" ); //throws an error
This is how I'm loading tinymce:
//load tinymce plugin
$('#tbxNote').tinymce({
// Location of TinyMCE scrip...
How can I pass the user_id on escape javascript while render on jquery?
Eg:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("#addPerson").click(function(){
$("#user tr:last").after("<%= escape_javascript(render :partial => 'user_item', :locals => {:user_item => User.new}) %>")
...
Using Jquery,
How do I assign an incremental z-index # for each H2, incrementing by 2's? (when document is ready, start with the first H2 and give it a z-index of 2, then go to the next H2 and give it a z-index of 4.... etc. z-index of the next H2 is 6 etc.
example:
<H2 style="z-index: 2;">heading one</h2>
<H2 style="z-index: 4;">headi...
Hi everyone, I need some help in jquery. I am using autocomplete plugin, I want to send the id of the box as the parameter in js code but not sure the syntax please help me out:
function suggestName(id)
{
//this some help here.....
$('#'+id).autocomplete("dealer_live.php",{
width: 150,
selectFirst: tr...
I'm trying to use form editing on jqgrid. When the data is changed, data is sent to the web server an automatically. I don't won't to send edited data to server. Just edit data on html tag value? Any idea? Can you guys put some working example?
Thank you for every advise?
...
I have a div set to contentEditable and styled with "white-space:pre" so it keeps things like linebreaks. In Safari, FF and IE, the div pretty much looks and works the same. All is well. What I want to do is extract the text from this div, but in such a way that will not lose the formatting -- specifically, the line breaks.
We are using...