jquery

How do I position a div next to a mouse click using JQuery?

Hi All, How do I position a div next to a mouse click using JQuery? Thanks ...

Removing A JQuery UI Tab

I am attempting to use some (simple) code to remove a JQuery UI tab that I had created dynamically. Unfortunately, it's not cooperating. Here is the javascript method I'm using: function removeTab(tabName) { var tabIndex = -1; $('#tabbedPanel > ul > li > a').each( function(i) { i...

Please help me applying jquery on this menu

I have a menu as below, I want to apply slidetoggle or something like that in jquery where all the child li are hidden by default, when clicked on for example "information 1" li than show it's children, information 2 remains hidden. And if i click information 2 than children of other li hides. Please help. <ul id="navlist"> <li>...

unable to set dynamic data in jquery fullcalendar through ajax

can somebody tell me how to populate "jquery fullcalendar" events using ajax. There is no setter method provided in fullcalendar to set ajax response (which is Json object) after calendar object loads. Is there any way to feed data after calendar object loads? In my case very first time I provide data in fullcalendar "event:" property ...

jquery this confusion

The below works fine. However, I have 2 submenus - if I hover over either, both of their children "ul.menu_body" fade in. presumably i need to use "this" somewhere, so the fade only applies to the desired menu. I tried adding $("ul.menu_body", this).fadeIn('fast') but this stops it working altogether - no errors mind (that i can see) ...

Disable other options (jQuery)

<p><label><input type="radio" name="group1" /> one</label></p> <p><label><input type="radio" name="group1" /> two</label></p> <p><label><input type="radio" name="group1" /> three</label></p> When one of the radio input is selected, I'd like to completely disable others. I tried with the jquery siblings selector but it works only if all...

jquery ajax help

I working with some ajax at the moment, the result of a successful ajax result is that some more content is add to the page on the fly. My problem is that is added on the fly it looks like I cannot attach any events to the elements that are added. The flow of what happens is that the user selects an option from a dropdown list, the valu...

jQuery animate opacity, remove div and getting invalid argument error within ie8

Hey everyone, i got a list of logos, which have to be centered, so far so good. While accessing the page i've noticed that the pictures got an ugly jump while being positioned. So i've decided to set a div above those logos, drop opacity from 1 to 0 and finally remove it, so that their are clickable again. Works very nice in Firefox, O...

Table body overflow is not working in chrome

I am using jquery in my project. my requirement is set min-height for table body and I need scroll for overflow. It is not working in chrome browser working fine in firefox table body height overflow is not working in chrome ..... ..... ...

How do I stop a DIV display outside a table underneath it, using Jquery?

Hi All, I have a table & when I click a cell, it displays a DIV(to the right of the mouse) with absolute positioning. I want the DIV to display using minus co-ords(positioning), so it never display outside the table('#holiday-planner-table') . Here's the concept I'm thinking of: if($('#DayInfo'). is outside of $('#holiday-plann...

Find the value in a loaded page

I have a page with a form with data filled by ajax post; on form page fields values are loaded correctly but I cannot get loaded value from a function inside the page; here is an example: <input type="text" id="mela"> <div style="border:1px solid black; display:none" id="vv">aaa</div> <script> alert($("#mela").val()); if ($("#mela"...

Google Map Marker + JQuery: Change icon

Hi, If I already displayed a google map marker. How could I change its icon using Jquery? Thanks in advance. ...

trigger click event in iframe parent window

<div id="main"> <a id="mainp" >Parent Window</a> <iframe id="iframeindex" src="iframeindex.html" > </iframe> </div> <script> $(function() { $('#mainp').live('click', function(e) { alert("hi"); e.preventDefault(); }); iframeindex source: <a id="child1" class="test" href="a.htm...

Calling ASP.NET WebService with variant culture decimal

I am calling a webservice using jQuery. The called method has a parameter of type decimal. My site change culture based what user choices. Before call webservice I use CompareValidator to validate, it do the right job, considering ThreadCulture. I can use CompareValidator to convert my string to invariant at javascript? Because webse...

Count the number of <div>

Is it possible using jQuery to count the number of div elements? I have this code: <div id = "center"> <div class ="name">text text</div> <div class ="name">text text text ... </div> <div class ="name">text ...</div> </div> And get number: 3 ...

How to "pre-process" an ajax response before displaying in jqGrid

I'm using jqGrid to display the results of a database query. The php script which performs the query and then formats the results as XML for consumption by jqGrid also does some error-checking. (For example, it might validate dates to be sure that they're in the correct format and that the start date is before the end date.) These ki...

Need to take the values from slected checkboxes an place into an input file, separated by commas

I'm trying to take a series of selected checkboxes and create a comma separated list inside an input field. This is a bit beyond my jQuery skills. Here is a sample of the HTML: <input type="checkbox" value="Bill" id="CAT_Custom_173676_0" name="CAT_Custom_173676" />Bill<br /> <input type="checkbox" value="Dan" id="CAT_Custom_173676_1" n...

jquery history plugin set current page possible?

I use jquery pagination plugin, unfortunately it doesn't have method to set current page from outside the object. I've really looked into this object (the function is not long), but as a jquery beginner I can not even find how the event binds (by click obviously). I have no idea how to modify this function so I can call something like: c...

JQuery CSS fails in IE 6, 8

here is code: <script type="text/javascript"> function doit(){ $('table td').each(function () { if ($(this).text().trim() != '') $(this).css("border", "1px groove white"); }); } doit(); </script> this works in chrome and firefox. BUT in IE 6 and 8 i have 'Object doesn't support th...

to implement a advanced login functionality help needed

I'm developing a system with codeigniter, php and jquery these days, still in the login form, in my login scenario i have a advanced situation i think. i have different kinds of users in my system,this is a hospital system, first of all there is a person to register people, a person to search old records(files), a person to check eye si...