parameter in JqGrid function
i've got this code to fill some data in a JQuery Grid, it't working fine but i want to give a parameter in the GetCustomers function for example GetCustomers(string username), how can i set the parameter in the getCustomerData url: 'Default.aspx/GetCustomers' ??: //JAVASCRIPT CODE function getCustomerData () { //Getting the source data with ajax GET request source = { datatype: "xml", datafields: [ { name: 'CompanyName' }, { name: 'ContactName' }, { name: 'ContactTitle' }, { name: 'City' }, { name:
Ebay Nudge Code - disappearing item description
I am using the code below but every time I try to search the item descriptions and prices vanish <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Auction Nudge Demo - Filtering By Keyword</title>
<style type="text/css">
form label {
display: block;
font-weight: bold;
}
</style>
</head>
<body>
<p>This example demonstrates how to filter a list of items shown using the grid theme. Items not matching the specified keyword will be hidden.
help me simplify this javascript using jquery
hi everyone, my name is equatorlounge and im quite new into its coding even though i've used jquery for more than 10 years!! i wanted to simplify this JavaScript function as follows; but before you read this, here is a brief of what it does: in fact, it's just a left menu and clicking on each menu shows its contents (initially style as display none); now what i wanted initially is a fade-in fade-out effect but guess i couldn't do it on codes; here are the html5 codes: <div class="col-lft left w-15
How do I create jquery effect on my DataList control at Asp.net .
How do I create jquery effect on my DataList control at Asp.net . Like the link bellow http://3.s3.envato.com/files/41640075/index.html My DataList control will be like <asp:DataList ID="DataList1" runat="server" DataKeyField="productID" DataSourceID="SqlDataSource1" RepeatColumns="3"> <ItemTemplate> <br /> <img alt="" src="pic/7.jpg"
Can someone explain the output from jQuery-Migrate?
Hello, I have a web site that uses jQuery and Telerik's KendoUI Javascript library. It was written using ASP.NET MVC3, although I don't think that's relevant to the issue here. The site was working fine, but has somehow broken. Telerik suggested I upgraded to the latest version of KendoUI, which I did, but the problems persist. They then suggested using jQuery-Migrate, as they thought I was using deprecated jQuery methods. I'm not convinced of this, but added the plug-in anyway. However, I don't
Doubt
hi to all. I have one doubt...I am using javascript I have one login form...having username and password fields. At first if i go inside with the username:sample.. Next time if i enter the letter 's' in the text field it should show the lastly entered all s user name .. How to work out this.. Any one clarify my doubt.. Regards, Yuvaraj..
How to put the errorplacement in jquery validation?
<form id="information" method="post" action="#"> $(document).ready(function () { validator = $('#information').validate(); }); function send(){ validator({ errorLabelContainer: "#errorclass", wrapper: "li" }); } <fieldset> <legend>Write your question here (*)</legend> <span id="invalid-text"></span> <textarea id="text" name="text" rows="8" cols="8"></textarea> <div id="submission"> <input type="submit" id="submit" value="Send" name="send" onclick = "send();"/> </div> <p class="required">(*)
events isn't working in IE and firebox
I want to know some doubts.They are I have done some functionality based on some events(onclick,onblur etc) using JS.Its working in chrome and not working in firebox and IE.How to find this browser dependent issues in browsers? Is it possible?Is any solution or tool is to find the browser issues?
Table Sorter
Hi, It depends on the form variables; I want the sort for default column is different. The code below did not working, can you please advise? <script type="text/javascript"> $(document).ready(function() { $("#mytbl").tablesorter({ if form.status ==6 sortList: [[1,1]], else sortList: [[0,1]], end if //do not sort for column 3 and 6 headers: { 6: { sorter: false} } }); }); </script>
IE9 problem
I am opening a new window for some functionality.But IE throws a following error.I have attached error as file.How to avoid this in IE?
radio button loosing it's look
Hi guys I am trying to create a simple quiz app which is turning out to be not so simple.. I am setting the contents of the radio buttons for the multiple choice questions dynamically by changing the labels text, which seems to be working fine till I hit the next question button (actually can just call the method by any means to have it crash and die). The questions that appear afterwards appear as if in a regular list.. Heres the code, I'm new to jquery so I'm sure it's something stupid :/ <!DOCTYPE
JQuery that handles multiple inputfields
I have this JQuery function: <script> $(function () { $("#cspinner").spinner({ min: 5, max: 15000, step: 5, start: 100, numberFormat: "C" }); }); </script> which corresponds to this input field: <input id="cspinner" name="cspinner" size="8" value="0" readonly="readonly" /> I am using JQuery UI controls, but my question is really
Best solution to make randomly animate text...
Hi all, I'm wondering what the best way would be to create an effect where the text along the bottom randomly gets slightly bigger and brighter. Thanks for your help! V
how to open page looking like opening the pages of a notebook
http://jsfiddle.net/4kwZJ/ Hi, the way i am doing is that pages open up and down.So for this purpose i want to modify it with better look and feel like opening the pages in a book. Can any body tell me how to do it?
creating imagemap with jquery doesn't work in internet explorer
Hello, I wanted to create an image map with jquery.I googled and find this http://www.dopeless-design.de/dopeless-hotspots-jquery-plugin-easy-hotspots-integration.html , but it has some problems. the hotspots are not shown at internet explore and some times, after some refresh of page they appear. is there a way to solve this problem. I need to make an image map that it's hotspot's coordinates will driven from sql database. I didn't found any thing better the above link. but it has the problem I
Webpage causing internet session being terminated in Android
I'm making a website from a template that I've downloaded. It's based on html5, jquery and is responsive. It works like a charm on ordinary computer, iPod, iPad and iPhone, but on Android tablet and smartphone I get the following problem: Going to the startpage always works. When clicking a subpage, that page loads for a couple of seconds and then the whole internet session is aborted. All pages contain the same code all the way from DOCTYPE down to the maincontent and then the footer code also is
changing href attribute of a link with an input radio button
Hi guys, I'm trying to change a href value of a button, but it's not working. I'm using jquery-1.8.0 and created a function like this: $('input[name=radio-group-1]:radio').change(function() { if ($(this).val() == 'no') { $('.btn[href=http://www.google.com]').attr("href","http://www.yahoo.com"); } }); HTML: <label for="yes">Yes</label> <input type="radio" name="radio-group-1" value="yes" /> <label for="no">No</label> <input type="radio" name="radio-group-1" value="no" /> <a
queueing functions with animations
hi guys! what an original site you have! refreshing change from vbulleton and phpbb my new website uses jquery! but its buggy and i need help! http://patrickallard.net63.net/ here is the part of the code with the error, its denoted by // error here when i try to append the openHopin function it doesn't work, if i try to run it strait up with $(this).openHopin it does work. but i have to append it because i have to queue it, i cant queue it unless i append it right? not that this is just a code snippet
Question about jquery ui drag n drop
Hi, I need an urgent solution because i am facing a problem.. My problem is, I have some controls image like button, listbox, selectbox, textbox, texearea, radio, checkbox and so on. Whenever i will drag, it's check its type and display the clone of it, and dropped it where i want..
PROBLEM WITH COUNTRY , STATE AND CITY DROPDOWN LIST AJAX SCRIPT ALONG WITH PHP
Need to rertrieve and decode JSON data sent to PHP programs from AJAX and any additional help with the Country , State, City Dropdown List Jquery Ajax program would be greatly appreciated. <SCRIPT> function loadcountries(){ $.ajax( url : "GETCOUNTRIES.PHP"; data : dataType : JSON ResponseType : JSON async : true success ( function(countries) { var cbocontrol = $("#COUNTRYCBO");
Problem in scrolling list view, is very slow any solution
<ul> <li> <a> <fieldset> <checkbox> </checkbox> <label for =checkbox> <label> </fieldset> </a> <a> </a> <li> . . . .<li> <a> <fieldset> <checkbox> </checkbox> <label for =checkbox> <label> </fieldset> </a> <a> </a> <li> </ul> I am construction list order on server side and send data to client and adding in <ul> after that $('#ul').trigger('create'); $('#ul').listview('refresh'); if data more than 100 problem in listview scroll is very slow in ipod but in system it is very fast i need
Passing data from dynamic listview
Hi there, I'm having trouble with some beginner case: There is a button which appends a li element with id ="123" to an ul element (listview) ... then i wanna click on that new element and a new page should appear saying "element id = 123". It kind of works as long as the li elements were not appended dynamicly but hard coded in the html part. Whats my fault here? <script> var passDataObject = { selectedId: null } $(document).ready(function(){ $("#acclist a").on("click", function(e){
scrolling dosent work
hi , I am using jscrolling plugin for scrool when i changed and add new div for scroll this script doesn't work. good work Unchanged http://jsfiddle.net/r2KjB/1/ doesn't work when i added div . http://jsfiddle.net/ma9An/ How to resolve this ? Please help tnx
Problems with on() method
Hello, ppl i'm writing a simple INSERT/ALTER code using ajax and jquery . When i choose a name on my select, a change function starts, then a post method call a new div with a form and data of the selected one. After that, a new button appears... a alter button... But i can't use it, because he isn't on DOM yet... i tried on(), like i've done once with live()... but doesnt work. <!-- jquery script > $("#consulta").on("change", function(){ var cadastro_id = $("#consulta").val(); $.post("cons.php",
Show/hide with a reset event
Hi guys, I'm trying to reset/clear out a response if you change your mind on a show/hide div. You would choose "Yes" to "Other" in the table, type some text into the now shown essay box, but when you choose "No" on "Other" it should clear the text out of the essay box. Please help, thank you in advanced! jsFiddle file: http://jsfiddle.net/Luck12/Csed2/2/ $('input[name="Q45_A_8"]').change(function() { if(1 == $(this).val()) { $('#myDiv').show(); } else { $('#myDiv').hide();
TypeError in jQuery: cannot call method toUpperCase of undefined
My ajax calls worked fine until recently. Now I'm getting a TypeError on undefined in jQuery and can't figure out what went wrong. It started when I put all javascript in a separate file. I tried going back to inline script, but nothing seems to help. Uncaught TypeError: Cannot call method 'toUpperCase' of undefined jquery-1.7.1.js:7482 s.type = s.type.toUpperCase(); Any ideas on how I managed to mess things up? Here's the complete html that's sent to the browser: <!DOCTYPE html> <html> <head>
i think the jquery little difficult to understand
i think the jquery little difficult to understand
Is there an expanding div effect like this in jquery?
What I would like to do is have like six different colored squares on a page with a lot of white space around them, and some white space in between them. I'd like to be able to click on a square and it open up/transition to a full screen, or near full screen layout with content in it. Here is an example, but this example isn't working in IE8 here at work. It worked in IE8 at home. Don't know why. http://tympanus.net/Tutorials/ExpandingOverlayEffect/ Any suggestion would be welcomed. Thank you
help with input.button() jquery UI
I want to have jquery ui theme to all my input type text. for this I run ( "input[type=submit], :button, :reset, :text, :password" ).button(); on document ready. It works good in chrome but in IE 8 , it behaves strange. the text field changes its width based on the chars in textfiled ie is the width changes based on the text size . I have a input type text with size 20 , and if user enters more than 20 chars then then the width of text element also increases , please advice
This JQUERY doesnot work when I use fadeslideshow.js
I am using script (Given below) to center the DIV and it is working fine. <script language="javascript"> $(document).ready(function(){ jQuery.fn.center = function () { this.css("position","absolute"); this.css("top", ( $(window).height() - this.height() ) / 2+$(window).scrollTop() + "px"); this.css("left", ( $(window).width() - this.width() ) / 2+$(window).scrollLeft() + "px"); return this; } $("#loading").center(); }); </script> refer link http://webvikas.net.in/savarkar/divincenter1.html The Loading
how to call page when close button is pressed in jquery dialog?
Hi, I wanted to call a page when the cross button is pressed. http://jsfiddle.net/s7LMT/ The way i have done is that when the body of the dialog is closed then it calls one page but if the cross button is pressed then its not calling
How to move pages left one by one
Hi, http://jsfiddle.net/4kwZJ/http://jsfiddle.net/4kwZJ/ The way i am doing is that the selected pages move up and down. But the problem is that the look and feel is not that much attractive. Is there any way to improve the look and feel like a selected page will move from left to right or something to improve a look and feel?
.html elements adopting wrong id?
Hi, I'm really new to Javascript/jQuery. I'm pretty sure this is a fundamental basic, but I've yet to cover it. (lack of time and good source material) Anyhow, my problem is that when I get jQuery to write a new HTML element, that element isn't responding correctly to additional code that relates to it. It's relating to the container that the new code was written into, but not the new code. $("#mainCenter").delay(2700).fadeIn(400).html("<div id='newBox'> </div><br><div id='newBox2'> </div><div id='newBox3'>
Sweet jesus can somebody please help me here
Hello everyone I hope you are having a great day because I'm not at all hahahahaha, Right, I'm creating a shop page that has 8 divs with an image in each one, a read more button on each one and and title etc, like this - <div class="div contentboxes box4"> <img src="" alt=""> <div class="titlebox"> <h2>Generic Title</h2> </div> <a class="readmore a4" href="">Read More..</a> </div> Now when you click the 'read more' <a>, i want all of these boxes to hide, and then depending on which particluar div's
my web have a problem
Hello, I cant put a nivo slider in my web, my site is dai2009.com.ar/ejemplo, thanks.
jQuery Mobile, $ is not defined, even the javascript should be loaded
Hey, i was using jQuery which was loaded with the code <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>Then I discovered jQuery Mobile and thought I could just change the javascript file to <script type="text/javascript" src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>But then I get the error: TypeError: e is undefined $('button').click(function() { ReferenceError: $ is not defined $('button').click(function() {With jQuery everything
fancybox.js / reveal.js conflict on iPad
Hello and thanks in advance for reading. I have a few fancybox.js galleries placed inside of a reveal.js presentation. Everything works fine on desktop, but the galleries are a mess on touch devices; Some of the thumbnails open their respective images correctly, a couple open the wrong link, and most of them start to trigger an event (the screen darkens momentarily as if the modal window is opening) but then nothing happens. This is a link to the site in question: http://annualreport.bam.org.s3-websi.../index-FO.html
Can jquery api web page maintain selected menu on right side tree?
Can jquery api web page maintain selected menu on right side tree? Use Iframe or anything. It is really counter-productive need to find menu again again in the long tree menu. Thanks,
javascript doesn't work until refresh
i have this js code in my html file but it doesn't work until you refresh the page and i dnt know the reason why. here's my code <script language="javascript" type="text/javascript"> jQuery(function($){ var url = window.location.search.substring(1); $('#mydiv').load('real_news.asp?'+url); }); </script>
creating map
Is there a some tutorial to make map like this http://en.gw2codex.com/carto/ When you click area to zoom in and you will see lots of icons on it. I was searching everywhere and all i can find is googlemaps custom map which is not good for me.
Next Page