3,446 Topics
![]() | |
[CODE]validate: function () { contact.message = ''; if (!$('#contact-container #contact-name').val()) { contact.message += 'Name required. '; } if (!$('#contact-container #contact-phone').val()) { contact.message += 'Phone required. '; } [B]if (!$('#contact-container #contact-phone').length()<>10) { contact.message += 'Phone no should be of 10 digit. '; }[/B] var email = $('#contact-container #contact-email').val(); if (!email) { … ![]() | |
I have a Telerik MVC Grid where I have a column as " select " , " edit" forwhich I have used Format Property to show Links to my ActionMethods . Now I want to show the selected Row text in Bold when someone clicks on " Select" / " … | |
Hi, I'm not able to toggle a ui class in my page. Basically here is my code: in the jquery document.ready I subscribe to the event $("#bBuscar").hover(changeButtonBackColor, normalizeButtonBackColor); then the other two funtions are like this: function changeButtonBackColor(evt) { $("#bBuscar").toggleClass("ui-state-hover ui-corner-all"); } function normalizeButtonBackColor(evt) { $("#bBuscar").toggleClass("ui-state-hover ui-corner-all"); } the button … | |
The code in the first Code Block is the source code. After the source code is running. The code will be changed (See the 2nd Code Block). I want the class(i.e. 'even' and 'odd') of <tr> tag is only displayed in the 'table1'. However, currently a nest table (i.e. 'table2') … | |
hi, my website was working fine, then I have added this code in my master page: [CODE] Dim css As New HtmlLink css.Href = ResolveClientUrl("~/JS/jquery_ui_1.8.1.4/jquery-ui-1.8.14.custom.css") css.Attributes("rel") = "stylesheet" css.Attributes("type") = "text/css" css.Attributes("media") = "all" Page.Header.Controls.Add(css) Dim jquery_ui_core_min As New HtmlGenericControl("script") jquery_ui_core_min.Attributes.Add("type", "text/javascript") jquery_ui_core_min.Attributes.Add("src", ResolveClientUrl("~/JS/jquery_ui_1.8.1.4/jquery.ui.core.min.js")) Me.Page.Header.Controls.Add(jquery_ui_core_min) Dim jquery_ui_widget_min As New HtmlGenericControl("script") … | |
Hi,I am new to jquery.i want to create a jquery form When i click form link,form will open & background color change to white. Need suggestion | |
Dear All, I got a page here [url]http://183.78.169.53/tyre2/page2.html[/url]. What I would like to do is enable swapping between the black images? I would like to drag and drop to another image and that image will fill up the dragged earlier image position? Any idea? | |
Hi everyone, I am new at Jquery and JavaScript as well and I really appreciate if you can help me to figure it out how I can check a state of slideToggle()? for example, I am trying to modify the following code when a user click the Register then first … | |
[CODE] function getAjax() { var XmlHttp; //Creating object of XMLHTTP in IE try { XmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { XmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (oc) { XmlHttp = null; } } //Creating object of XMLHTTP in Browers other than IE if (!XmlHttp && typeof … ![]() | |
Hello Am trying to implement something similar to this page, [url]http://www.k-optisports.ch/fr/optic/team.html[/url], whereby hovering on an image changes it to display the user's details. anyone can pls help me with finding a tutorial or pre-built gallery using such type of effect? | |
hello, i have to find google co=ordinates from given address. so i am displaying google map in popup box but i don't know why google map not loading in popup. but it is working fine in new page.when i am trying to display in popup then only i am getting … ![]() | |
Hi There, I'm trying to reduce the load speed of an ekmpowershop-powered site, and to do this I'd like to combine all of the javascript scripts into one. As I have no idea how to do this, I'm going to try using the jmerge tool. First I need to put … | |
hello guys i got a problem that i applied clearabletextfield plugin on my textfield but its css is not been right.i set it on multi-fields but its css is not been set me... | |
Hello, I need to post data to another server using jquery. Here is the code i am using [CODE] $.ajax({ url:"https://www.thewiseagent.com:443/secure/webcontactAllFields.asp", type:'POST', data:"ID="+$ID+"&Source="+$Source+"¬ifyCc="+$notifyCc+"¬ifyBcc="+$notifyBcc+"&noMail="+$noMail+"&CFirst="+$first+"&CLast="+$last+"&Phone="+$Phone+"&Fax="+$Fax+"&CEmail="+$CEmail+"&Message="+$message, success: function() { //window.location.href = "http://www.petlooza.com"; } }); [/CODE] i got error (302 object moved) in case of firefox/chorme although data is inserting.. but in case of … | |
I have lots of pets in a dropdown. what i want to achieve is that when ever i hover on dropdown, it will display the image of particular pet as a popup. Any idea how can i achieve that? | |
I have lots of pets in a dropdown. what i want to achieve is that when ever i hover on dropdown, it will display the image of particular pet as a popup. Any idea how can i achieve that? ![]() | |
Hello everybody i have download loaded the popup of jquery and its working but i have added html button in it and i want to close the popup when user click on it .... kindly reply me i shall be very thankful to you ![]() | |
Greetings I have this page, which will have a slider gallery based on the EasySlider plugin [URL="http://fantasma98.byethost12.com/restaurante/galeria.php"]http://fantasma98.byethost12.com/restaurante/galeria.php[/URL] The problem I'm having is that, I don't know how to display a title and a description of the given image (been trying for hours to move positioned divs to display it). I … | |
hello guys i want a drop down menu for the month,year and days in case of DATE OF BIRTH. I HAVE done this thing with jquery datepicker but i want a dropdown menu for it..please help me here is my code i want to use drop down menu but figuring … ![]() | |
I have this code for overlay [CODE] <script> $(document).ready(function() { var triggers = $(".modalInput").overlay({ // some mask tweaks suitable for modal dialogs mask: { color: '#ebecff', loadSpeed: 500, opacity: 0.8 }, closeOnClick: false }); var buttons = $("#btn1").click(function(e) { // get user input var yes = buttons.index(this) === 0; // … | |
hello guys i am trying to add jquery datapicker function but its not working.here is the code.... [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link rel="stylesheet" type="text/css" href="css/stu.css" /> <style type="text/css"> <!-- .style1 {color: #C0C0C0} --> </style> <script … ![]() | |
Nowadays i'm working very hardly on one prohect - mini social network with some advantages: You can generate tree style map ([url]http://goo.gl/ZP5yc[/url]) of all relationships of user. For example B, C, D are friends of A. On profile page of A when you click on "generate" button it shows A … | |
[CODE]function moveScroll(){ try { var $j = jQuery.noConflict(); var scroll = $j("#applicationBody").scrollTop(); var anchor_top = $j("#searchResults").offset().top; var anchor_bottom = $j("#bottom_anchor").offset().top; alert(anchor_bottom); if (scroll>anchor_top && scroll<anchor_bottom) { clone_table = $j("#clone"); if(clone_table.length == 0){ clone_table = $j("#searchResults").clone(); clone_table.attr('id', 'clone'); clone_table.css({position:'fixed', 'pointer-events': 'none', top:0}); clone_table.width($j("#searchResults").width()); $j("#searchResultsList").append(clone_table); $j("#clone").css({visibility:'hidden'}); $j("#clone thead").css({visibility:'visible'}); } } else { … | |
Hi guys, Why my code below doesn't work? How to make them work together on one page? [CODE] // THIS CODE IS FOR DATE PICKER <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script> $(document).ready(function() { $("#datepicker").datepicker({dateFormat: 'yy-mm-dd 00:00:00'}); }); </script> // THIS CODE IS FOR VALIDATOR <link rel="stylesheet" … | |
Hi I have this code of zebra stripes. [CODE] <style type="text/css"> <!-- .paint {background: #caf2fe;} --> </style> <script type="text/javascript"> $(document).ready(function(){ $("tr:odd").addClass("paint"); }); </script> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td>Text1</td> </tr> <tr> <td>Text1 details</td> </tr> <tr> <td>Text2</td> </tr> <tr> <td>Text2 details</td> </tr> <tr> <td>Text3</td> </tr> <tr> <td>Text3 details</td> </tr> </table> [/CODE] … | |
hi guys i have a problem i am searching for it but couldnt find that code right.can any one fix it.i want to change my text field colour to red while it is left empty or doesnt specify the condition applied on this...here is my code below [CODE] <!doctype html> … ![]() | |
well this one is the my first post in the daniweb , and i belive that i will get solved my problem . well i trying to create a MLM project in which i m trying to creating binary tree by using this code which i have attached in this … | |
can anyone help me to create jquery, javascript one page template exactly or looklike below [URL="http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5"]http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5[/URL] | |
Hello, I'm using Google Maps to show houses listings on the Google map. I'm also using AJAX to allow user to customize search parameters. Map is showing fine but the houses listings on the map is not working. Moreover, I'm getting the following pop up error; [url]http://imageshack.us/photo/my-images/857/screenshotpll.png/[/url] I'm also sharing … | |
Hi guys, I'm new to the site and could really use some help. On my site I am having a css issue that I just can't figure out. On some of my pages, the right side div contents seem to stuck to the left side. The first link below is … | |
Hi All, As the title says. Have been looking for solution these past 2 days, Salary Record are pulled from database (MySql) in to PHP table (do/while loop). - Name , Salary , OvertimePay , Subtotal , MedicalDeduct , UnionFeeDeduct , Tax , Grand Total - Peter , 1300 , … | |
Hi, I know for calling jquery function requires some event. But in my project I want to call function of jquery onchange event but that value changing through coding and whenever that value changed jquery function should be called. That means upto particular condition value will be changed of textbox … | |
I have a php function that list all of the countries from my database as a select option, then based on what the user selects for their country im using jquery to make an ajax call and get all of the states/regions for that country. This part works fine. I'm … | |
i have a little problem with jquery...for example i have five A anchor tags everyone with an ID (<a id="a1">, <a id="a2"> etc). when i click on one of them i want to appear a dialog box (with jquery-ui) containing an image. but the following code doesn't work, when i … | |
I have implemented a tooltip on my navigational links (after clicking on the 2006 Volvo 780). Found here: http://www.lonemountaintruck.com/partners/index2.php I am pulling the "detailed" view of the truck into the div from a php file(loadtrucks.php). The "Next Rig" link is the link that is causing the tooltip to stay open … | |
Hi there, I am in the process of implementing draggable/droppable interaction using the JQuery UI. This is something that I have very little experience with so please be gentle. I can drag and drop using <tr> elements which looks great, but I need to get the <tr> attributes (perl variables) … | |
Hello Guys, I need your help, I want to draw growing circles like a darts board and like attached picture using jQuery (I prefer) or another javascript library. Regards, [IMG]http://ayyash.info/Circles.jpg[/IMG] | |
Hi how to render a div next to href link, we are using JQuery. Below is code attached where when clicked the div gets rendered just below the tab of browsers, I want to render next to that of href link as there will be lot of href links in … ![]() | |
Hello! I'm having problem with getting the checkbox state of a selected row inside table. I don't know if there is any specific function to determinate which row is selected so I've thought of the following... when the row is selected, style(background color) is applied to the tr element, so … | |
![]() | Hi everyone. I am having trouble with a jQuery comment system. Here is the code. [code] <?php $page = 'View Support Ticket'; include 'header.php'; $view_hash = clean($_GET['view_hash']); $ticket_query = sprintf("SELECT * FROM support WHERE view_hash='%s'", $view_hash); $ticket_query = mysql_query($ticket_query); $ticket = mysql_fetch_assoc($ticket_query); $ticket_num = mysql_num_rows($ticket_query); ?> <!-- start #page --> … |
I am working on a local server on adding a media uploadbox to a Wordpress plugin Datafeedr Randam adds for a few days now and the code I have come up with so far is here [url]http://wordpress.pastebin.com/xF0xs9mL[/url] . Code added to load needed scripts starts at line 101 and media … | |
Does anyone know if JQuery can be used to produce a slideshow like the one here... [URL="http://www.scottishweddingphotographer.com"]www.scottishweddingphotographer.com[/URL] Or is there a ready made script out there that does it already. Basically I need a row of thumbnails which when clicked reveal a scrolling slideshow. Thanks in advance ![]() | |
So I'm trying to access the .css('height') of an element and it keeps returning 0px regardless of what it's height is. I've put a couple alerts to see what it gets in the $(document).ready() function so it should be accessible by then. The height property is being set in the … | |
Hello, I'm going to make a portfolio and am trying to use jquery for effects. Basically I have several menus and when I click on any of them the showed text in content div of page should change, using ajax. These are levels: a) SlideUp the #Content div b) Change … | |
Hi below is the html code for login switcher which is not rendering properly in Internet Explorer. Please see the images attached and zipped folder contains html, css and Jquery libraries. The whole code is posted where as to make it does not generate errors in firebug. ATTACHED IMAGES OF … | |
Hi wondered if someone could help me i am having the same kind of issue: if you go here: [url="http://bluegeeks-testserver.co.cc/jaclyn-beta/index.php?route=product/product&path=1&product_id=1"]http://bluegeeks-testserver.co.cc/jaclyn-beta/index.php?route=product/product&path=1&product_id=1[/url] and your see the Select Drop Down called: Fonts, well if you choose say Airstrip or Arial the image should change but the problem i am having is. It works … | |
Hey all Allright so here's what I'm trying to do. I'm trying to create about 6 pages into one page. They way that I want it to work is that I will have a navigation bar at the top which when one of the menu items when clicked will direct … | |
I have the following code working just fine, however I cannot get the .show('slow') on the "myDiv" content to "slow" down when displaying. Actually I can remove the .show('slow') all together and everything still works just fine. It is as if it is ignoring the .show() completely on that line. … | |
What am i doing wrong? [CODE]function error_msg(code) { if (code=="pass") { alert(code); //pops/works $('#error').addClass("notification fail").fadeIn(); //does nothing $('#error').html('<strong>Incorrect Password</strong><span style="color:black"> - Please try again.</span>');//does nothing } }[/CODE] Any help will be appriciated :-) | |
The case scenario is like I have to check all available usernames/names from the databases whenever I type the letters instanly. For example:- When type "je" in the userfield, it should show all combination of names starting with "je" inline. I am attaching a picture as sample. Its indian railway … |
The End.