Jquery + Wcf + Sql
Hi all, could you please give me some simple example on jquery + wcf + sql ? I mean, my need is to create wcf service for getting data from sql table, jquery should help show result at web page. I'm newbie, help me please.
Tooltip in IE 9
Have tooltip installed on a form and works fine on Firefox, Safari and Chrome. On IE9 the tooltip shows up at the top of the browser directly under the menu bar and runs across the whole screen. Also have datepicker installed and when you run mouse over the arrow for the month next it shows up at the top of browser as well. Any help will be greatly appreciated.
First example cannot get to work
Here is the html/script - when I click the link I get nothing, and firebug does not show any errors, so kinda stumped here. <!doctype html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"
Check for empty <ul> and if true update with text.....
Hi I can't seem to get this to work and not sure really why. Example: http://jsfiddle.net/Vt4CJ/ I am trying to say if <ul> tags with a class of 'Check' are empty then add text 'No documents found' else do nothing. Any help would be much appreciated. Thanks James
superfish dropdown menu not lined up below menu option and second level drop menus not working
I have an Administrator Sub Menu that drop down from main menu with options (i) Orders (ii) Vendor (iii) Affiliate Each of these options suppose to dropdown another sub menu when mouse hover on an option. This multilevel dropdown feature is not working when I am trying to use superfish. Also Drop Down sub menu for Vendor, Affiliate, and administrator are not falling directly below or are not in line with menu options.
Begining to Jquery
hiiiiiii am new to jquery.. i have an idea on JS,css,html5 can any one tell me from where should i start my learning.. any tutorials... any links is der for it???
Get innerHTML of a non-identified td
Hello there, I've a small trouble I can't solve. Here is an html table I use (I can't change the generated code): <table> <tr><th>Lastname</th><th>Country</th></tr> <tr id="1"><td>Doe</td><td>France</td></tr> <tr id="2"><td>Dummy</td><td>Russia</td></tr> </table> I want to get the country of a selected row, but I don't know how. I tried: $('#1').html(); // gives "Doe France" $('#1').text(); // gives "Doe France" $('#1 td').text(); //gives "Doe France" $('#1 td').html(); //gives "Doe" $('#1 td td').text();
fetching data into to below json format
How to fetch the first name and last name from below output: var data={"rows":[{"key":"sree","value":{"firstname":"sree","lastname":"prakash","_id":"83E15B82-1C1F-4888-9E0A-1485C6B92654","_rev":"1-9d837a8e921dc2985213f42ca609b1e1"}}]}
setting placeholder tag of an input field
I'm trying to set the placeholder attribute of an input field when my website loads, but it fails to do so. This is my jquery code: $(document).ready(function(){ $("#mce-EMAIL").attr("placeholder","test?"); })
Silly Noob Question
I looked around for a solution. I probably used the wrong terms though. I apologize in advance. The background: the good I've built an eLearning library for an existing site. I've organized that library into a jQuery accordion widget. In its own page, the widget works flawlessly. See: Working Standalone Widget the bad I have to put this widget into their site. Their site has existing css that seems to be screwing with my widget. They have h2 in their css. Attempts to put it into their existing
Block special characters from entering textboxes and textareas
Hi I am new to jquery. I am trying to block special charcters from entering textboxes and textareas across my application. I have written the below mentioned function in a seperate .js file: $(document).ready(function () { $('input[type="text"],textarea').bind('change', function () { // $('textarea[id$=txtfpconfirmcomments]').change(function (event) { alert(this.id); if (this.value.match(/[^a-zA-Z0-9 ]/g)) { this.value = this.value.replace(/[^a-zA-Z0-9 ]/g, ''); } }); }); I have added references
Image slider or something else
is there any slider which can look like this http://i.imgur.com/g2bB1.png thanks
Images Grid Layout Responsive
Hello, I search for a solution to make a grid layout with 4 columns and 3 rows for images. This must be responsive and fill out the full screen . Is there any solution? Many Thanks Ingo
Search field with on the fly select-list from database table.
I'm trying to create html search field when user starts to type on, it should show a symbol matched combination list from database table's column. I would appreciate, if you could put me on a right direction or detailed steps. Thank you very much.
How to leave jquery tabs page
Hello there I have an issue while leaving the page. The concept is that while working in Jquery tabs, if the application throws any error, it should go to an error page. I have tried with Response.Redirect but this will opens the error page in the same jquery tab from which the error is thrown.
why can't we chat online about things
Not all is needed to be in the forum. If we all install something like this:https://chrome.google.com/webstore/detail/page-buddies/jceolabahkbelpkecmkpclfmakkkeagb We can chat with people currently on the same page/subject, and write in the forum only things we really to stay for a long time.
Help with radio button and jQuery
Hi, I’ve a asp.net page with two groups of radio buttons. I want to pop up a modal box when B is selected from 'radio1' radiogroup and 1 is selected from 'radio2' radiogroup. I can pop up modal box when only B is selected from first dropdown box but I don’t know how to check what is selected from both the radiogroups. Can somebody help me with the syntax as I’m new to jQuery syntax. Below is my code. Thanks in advance, Joe Green $(function () { $( "#radio1" ).change(function()
How do i select this element?
Hi all, Below is part of my HTML. What i want to do is when i click on a menu item e.g Home, Portfolio etc. I would like for the the contents of the "#slideshow" div to either hide or animate the opacity to 0, I have left it at fadeout for the minute to keep it simple. <div class="container_12 .grid_10" id="header"><img src="images/logo.png" name="logo" width="460" id="logo" /> <ul class="dropdown_menu"> <li><a>Home</a></li> <li><a>Portfolio</a></li> <li><a>About
Trying to wrap a function in ".find"
I have a jQuery accordion on my site which is loaded into a div by AJAX after the main page has loaded. The jQuery library is loaded when the main page is loaded and unless I include the library again just above the code I've shown below, the accordion does not work. The code below is loaded with the AJAX content and is situated below the accordions' HTML. I believe that when the library is loaded and the document is ready, a "find" is initiated automatically, but I don't want the extra overhead
slideToggle on mouseout
Hello, I have a div that collapse on mouseout. It works, but not as intended. The basic structure is: <h3 class="myHeader">header</h3> <div class="myCollapse"> <form><input><input></form> </div> <script> ... $(".myCollapse ").bind('mouseout', function(){ $(".myCollapse ").slideToggle(1000); }); ... </script> When the mouse hover over the form-elements, then jQuery triggers the mouseout-event. I want jQuery to only trigger the mouseout-event when the mouse is leaving the div not when bumping
jQuery question - remove a class and hide an element
Hello Everyone: I am doing an exercise to practice jquery's removeClass method and hide an element. The code doesn't function as expected 1)to remove the class from the html table element 2)it doesn't hide the paragraph text which read 'the legal statement of our website.' Please give me some suggestion on how to make the code work, so I can understand what have done wrong. Thanks! Code in external style sheet: .zebra { background-color: #ddd; color: #0000ff; } Code
Select even table elements?
Hello everyone: I am doing a exercise to select even table elements, then change the background color and font color of the elements. To me the code should highlight the content in event number of <td> tag (e.g. Name and Approx. Location) Could someone explain to me why this happened and what change shall I make, so the code will highlight the content in the even number of the <td> tags <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
effects queue question
I need to queue several effects where the object being acted on is different for each effect but i need some of effects to run at the same time i know that if the object being acted upon was always the same the code would look like this $.('objectid#').animate().delay().animate().delay ect what i need is more like this $.('objectone#').animate() delay code $.('objecttwo#').animate() delay code $.('objectthree#').animate() delay code but remember i need for some of the animations to happen at
jQuery compliance
Can anyone help please before we use loads of dialog boxes on our new app: are jquery modal dialog boxes at least w3c AA compliant? Many thanks Janet
jquery dropdown sub menu need to fall below and in line with menu link and need second dropdown menu
This is a jquery Dropdown menu. I want Dropdown submenu for Vendor, Affiliate, Administrator to start below and in line with Vendor, Affiliate, Administrator menu link. Also want to dropdown second submenu for Administrator Sub menu options( ORDERS, VENDOR, AFFILIATE) PLease assist me to get my Dropdown menu working. <DIV ID="MENU"> <STYLE type="text/css"> #MENUBAR { margin : 0; padding : 0; } #MENUBAR li { float : left; display : block; width : 150; position: relative; } #MENUBAR li a:hover{
change of text in redirect page
http://jsfiddle.net/SSMX4/82/ when i click a tags with links in it redirects to different pages but name of the country does not changes after it redirects to another page... if i click the a tag with out the links the name of the country changes but it remains in the same page... i am testing it in my local server where i am able to see the html structure... so i couldn't show it in ths js fiddle... how to fix the change of country name when it redirects to different pages.... in the rediect page
Need to select all elements with same class except the one
I am a newby i hope i chose right forum thread. I have made a vertical sliding blocks in a sidebar menu (here is what i work at: http://present-on-don.ru ) so i need to all elements except the clicked one to slide back so thaat the same time only one element is open. So i need to chose all the elements with class "arrowm" except the one i click on. How can i do that? I cant use siblings or children or if i use "find" then how do i exclude the one i click? many thanks for any kind of help.Google is
multiple slideshow - page counter problem
Hello, I have multiple slideshow in one page. My problem is that I can't have the page counter for each slideshow. (It appears only on the first one) Here my JQuery code : $(document).ready(function() { $('.slideshow').each(function(){ $(this).cycle({ speed:1, timeout: 0, next: $('.slideright', $(this).parent()), prev: $('.slideleft', $(this).parent()), after: onAfter }); }); }); function onAfter(curr,next,opts) { var caption = (opts.currSlide + 1) + ' / ' + opts.slideCount; $('#counter').html(caption);
json-jquery autocomplete
how to import json data from a url into the jquery autocomplete text box...
Success message when error, no success message when successful
I am having problem with success messages. If the form is submitted and there are no problems, I want it to alert Success. If the form is submitted and there are problems, I want it to alert Error occurred. Currently, if I submit something that is posted to MySQL successfully, it gives me no messages. If I submit something that does not meet the requirements within the PHP script it gives me the Success message, not the error message. JQUERY: [code] $(document).ready(function(){ $("#security_add_category").click(function(event){
Navigation in pages with JQuery (hashchange)
So I wrote a little jquery script. The script loads 2 Div's out of one different page, and loads them into the told Div's. You can use it as a navigation script, or just to load Div's from a seperate sheet. The advantage of using this as your Navigation is, that it only loads the needed Div's and not the whole site. That it works you have to look for the namegiving. First you have to give the links a special type of "link", a hash. For example: <a href="#book">Book</a> Because on my site the other
HTML Form Submit
Hi, I#'m new to Jquery and so i'm not even sure if this is even possible: I want to run a php script when an html form is submitted. The PHP will run a check. If true it will submit the form as usual, if false it will call a javascript alert. This what I have so far: <form id="myform" > <p class="comment">Name</p> <p><input type="text" name="name"></p> <p class="comment">Email</p> <p><input type="text" name="email" value="<? echo $_POST['email']; ?>" size="50"></p> <p><input type="button" onClick="dosubmit()"
How to apply css rules on element, just temporary, and apply them to next element, when they stop to affect previous?
I want jQuery to apply some css to one element, but that css rules should be active only, for example, half of second. And how to make that rules for some element begins exactly when rules for previous stops. Can somebody help me? Thanks in advance.
loop for images
Good afternoon, I have a mousemove effect and would like some help: I'm passing some parameters fixed, and I would put them dynamic. I need to make a picture that is for each step the mouse, that when searching for the image (sprite) database, according to the parameters already know how to divide the spaces where content will appear the images. The following code: jQuery.noConflict(); function moveImages(IDLoader, numImages) { jQuery(document).ready(function ($) { var cursorObject = { offsetLeft:
How to get the value from from input text?
<html> <head> <title>jquery test</title> <script type="text/javascript" src="js/jquery-1.8.2.js"></script> <script type="text/javascript" src="js/jquery-ui-1.9.1.custom.js"></script> <!-- <script type="text/javascript" src="js/jquery.mobile-1.2.0.js"></script> --> <link type="text/css" href="css/jquery-ui-1.9.1.custom.css" rel="stylesheet" > <!-- <link type="text/css" href="css/jquery.mobile-1.2.0.css" rel="stylesheet" > --> <script type="text/javascript">
call an external web page to fill a textBox
Hi, when filling a form in PAGE1, I like to call (by a button click) an external web page PAGE 2 in which i do some search and get an info that I use to fill a textbox in PAGE1. How is this possible? with which technologies(jquery, Ajax)? Thanks.
jQuery website hangs my PC
Wow, this is weird. When ever I visit this website on my Windows 7 PC using FireFox, the website hangs for about 10 seconds. Even weirder, it is actually my entire PC, and while I can use the mouse, no other Windows functions work. I have Java installed on the PC, but don't know if it is related. Anyone experience similar phenomenons?
Can some one explain why class when a #name works
Sorry could not explain my needs in the heading. Here goes: I like using <div id="somename"></div> Why do I see many class names with the same action as the id. I get confused seeing code where I change the class to id and get errors or no working code at all. Very very very simple beginner. in Jquery.
ajax and show FAQ problem
hi i have a problem :s i need to modify my webstie , and i don't know where to begin :s emm my problem is that i want to use ajax like this for example for the FAQ Question1 ( here when the user click on it a request will be sent to ajax.php with post parameter id=1 and function = faq , and get the answer and show it under the question ) Question2 Question3 Question4 Question5 and when user click on another question the previous answer hide again and so on :) i hope you got the idea i read the documentation
Slider Widget
Hi guys, Just signed up :) I'm using a modified Jquery slider my code is below - $(window).load(function(){ function showProducts(minPrice, maxPrice) { $(".product_container").hide().filter(function() { var price = parseInt($(this).data("price"), 10); return price >= minPrice && price <= maxPrice; }).show(); } $(function() { var options = { range: true, min: 0, max: 10000, values: [0, 10000], slide: function(event, ui) {
Next Page