Hi,
is it possible to add a .click event inside a function which is called when something happens.
for example if some one clicks a button other than the tab navigation that button function will change the select tab.
how can I add it to this function function() { }
...
Hallo,
I have a problem. I'am trying to get some data from my database. But with a limit. So i use the selectLimit command. But when i load the grid my firebug gives the following error:
"parsererror"?e:null},parse:function(d...d(a.fn.jqGrid,d);this.no_legacy_api||
When I go to the selectLimit in the jqgrid.php and print out what the ...
Hi all,
I am using thick box 3.1 to load a pop up. It working well by using in the following way:
<a href="filename.php" class="thickbox"> TEST </a>
If we click on the TEST now then the popup is working well and good.
Now my prob is: I need to call this popup in form load using JavaScript.
I do something like below:
<script type="...
Hi, I have started using the DataTables plugin (v1.6.2) for jQuery(v1.4.2), and I would like to ask you if you know a settings or a plugin that allow me to highlight the text used in search textbox on the filtered rows.
Thank you in advance
...
Hi All,
Im having a bit of trouble getting my JSON to be recognised by my web page. I have validated JSON that im getting returned from server, so i know that is correct, however my javascript function is not doing anything with it. My succes function is as follows:
success: function(data) {
$('input[name=customer_name]').val(data.n...
I have two links with classes (login-form and register-form) relevant to their target forms ID, they want to toggle. I have also a predefined 'slideToggle' function to toggle better.
This is what I have tried so far:
$('#userbar a').click(function() {
var c = $(this).attr('class');
$('#userbar a').removeClass('active');
...
I am using the following code to work out an inc and ext VAT price:
$('#totalexvat').text(totalprice);
var vat = totalprice / 100 * 17.5;
vat = roundNumber(vat,2);
$('#totalincvat').text(totalprice-vat);
Sometimes i get .3 or .9 instead of what I would like to be .30 or .90 because it's money, is there a way to do this?
...
I am using ASP.NET page with updatepanels and Jquery UI tabs. However, I'm having a problem with it. When I click on a button it should set the value of a hidden field which when the page posts back, it will select the new tab.
So in document onload set the tab to the initialised value of the hidden field:
$(function()
{
va...
Hello friends!
I have jquery validation code which is working fine in ff but the same code is not working in Internet Explorer. There is no error when I run same script in FF but there is an error when i run same scritp in Internet explorer the error is as follows
Error: Expected identifier, string or number
code: 0
I cant able to und...
Can some one please tell me where I have gone wrong. What ever I do I get the answer "no"
JQuery to send data to php query
$j.post("logincheck.php",{
username:$j('#username').attr('value'),
password:$j('#password').attr('value'),
rand:Math.random() } ,
function(data) {
if(data=='yes') {alert('yes');}
else {alert('no');}
}
);
...
Hi there. I have a jquery dialog box that pops up and takes user data through a form. Once the user is finished s/he clicks the 'ok' button. This dialog box has a few 'tabs' such that when 'ok' is clicked, we want to validate all the data given in each tab. If anything is invalid, we take the user to that tab and tell them what's wro...
Does anyone know if theres a jquery autocomplete library that works similar to the one here:
http://www.thetrainline.com
(try and select a station to see what i mean) The one on here is a prototype library.
Basically all the ones ive found will only match characters if they appear at the beginning of a string, for example, if i typed 'e...
Up until now I just put all my jQuery goodness inside the $(document).ready() function, including simple functions used in certain user interactions.
But functions that don´t require the DOM document to be loaded or are only called afterwards anyway, can be placed outside the $(document).ready() as well. Consider for example a very sim...
Hi guys, I have a slight problem, I am trying to capture the input of two buttons, one yes, one no, into a database but for some reason the database doesn't always show the value of the button clicked, it just shows up blank.
<form action="refer.php" method="post" id="formID" >
<div class="prompt_container" style="float: left;">
...
hi. I am getting the value of a fckeditor with javascript to show in a dialog as preview. Now I want it to show the html tags like I input them but instead it shows me this
<p><div>test</div></p>
that is <div>test</div>
I use this following code
function test() {
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1...
I'm using jQuery's getJSONP and I want to log the duration of the call and the size of the response to be able to have some statistics about the usage of my application.
This is a cross domain ajax call, so I need to use JSONP, but as the JSONP call is not done with an XMLHttpRequest object, the complete callback from jquery's ajax does...
Hi.
I'm trying to understand JQ better.
I'm calling an JQ object
$(".FamiliesList li li span[class!='']").prev().find('option:selected')
this returns back to me an array of all the options that their span parent's brother has a classname.
[option, option]
Now- I want to return back an array of the option's values
$(".FamiliesLis...
i m using auto suggest box fancy apple style suggestion box . everything is working fine, but i want that user can select any value that shown in suggestion box by up arrow or down arrow. how to implement code for this purpose.
right now user have to select given suggestion by using mouse.
...
Hi
I'm very newbie with jQuery (and Javascript) and i don't know how to do this.
I want to grab two divs and insert them on a new div.
Example:
<div class="test"></div>
<div class="test"></div>
<div class="test2"></div>
<div class="test2"></div>
to
<div class="float">
<div class="test"></div>
<div class="test"></div>
<...
I want to use jquery to add a rel="shadowbox" to a <a> tag
How can I do this?
...