2,530 Topics

Member Avatar for
Member Avatar for Danny159

Hey, My following code doesnt seem to be working, it doesnt change the onclick function when you click the image... can someone please help me? Jquery is includes at the top of my page... [CODE]<script type="text/javascript"> function addfav(id){ var div = '#fav_'+id; $(div).attr("src","images/star.png"); $(div).unbind('click'); $(div).click(function() { removefav(id); return false; console.log('did …

Member Avatar for Danny159
0
158
Member Avatar for nuttyniall

Hi hope someone can can help im having a problem with how ripple is dealing with for loops when emulating an android app using html5 css jquery and jqtouch simple loop [CODE] var len = 1; for (i = 0; i <len; i++){ alert('foo'); } [/CODE] run it through chrome …

Member Avatar for Airshow
0
212
Member Avatar for atticusr5

Hello everyone, I am having trouble with getting jquery mobile not cache pages on the device. Does anyone know of a way to do this, I am COMPLETELY lost.

Member Avatar for pritaeas
0
66
Member Avatar for welkam

Hello i am quite new to jQuery. I am trying to insert search results in to page without reloading it, but unsuccessful. Here is the code i am using: [CODE] $(document).ready(function(){ $("a").click(function(event){ $.get( "search.php", { query: "intel" }, function(data) { $('#content').html(data); } ); }); });[/CODE] i am using example form …

Member Avatar for mi.mac.rules
0
160
Member Avatar for ganesh641
Member Avatar for mi.mac.rules
0
148
Member Avatar for simplypixie

Sorry if the title of this thread doesn't make sense - I didn't know what to write :) I am using jQuery form validation and one of the rules is to check for a valid url. The field isn't required so am just validating formatting. This all works fine but …

Member Avatar for simplypixie
0
577
Member Avatar for jpknoob

Evening, I am trying to grab information from a PHP script using JQuery when the user enters a value into a text input field. The text input box has an auto suggest function so that when the user begins tying they can see what matches from the database. If the …

Member Avatar for ko ko
0
268
Member Avatar for basamdamdu

Hi all, I am a newbie when it comes to js/jquery. I am trying to have the content of a div (let's call it "quote") added to the body of a mailto. the content of the div "quote" is randomly generated (stored in .js file) by pressing a "next" button. …

Member Avatar for basamdamdu
0
4K
Member Avatar for simplypixie

I have finally got around to utilising jQuery form validation on a new site I am doing the coding for and even though everything is working exactly as it should I need to move one of the error messages to display below rather than to the right as the other …

Member Avatar for Airshow
0
219
Member Avatar for kimmi_baby

Hi, I'm having issues getting the datepicker to display. I've done quite a bit of research on it and found other people have had the same problem but I tried their fixes and it still doesn't work. The page is here [URL="http://www.purpleblaze.com.au/test%202/"]http://www.purpleblaze.com.au/test%202/[/URL] I'm really struggling on this and I've spent …

Member Avatar for baig772
0
2K
Member Avatar for lsvife

Good day! I am a newbie in jquery. I want to create a multicolumn select box that may look like this. [IMG]http://www.codeproject.com/KB/combobox/multicolumncombo/comboOpen.jpg[/IMG] I am planning to do it in a table that work just like a standard select box but the problem is I dont know how. could anybody show …

Member Avatar for pritaeas
0
188
Member Avatar for cambridge77

Hi, Am trying to get away from flash + new to jquery. I know there is an obvious problem in the Css or js but the more I change things around the worse it gets. I want the gallery up next to the right of the nav column. Sick of …

Member Avatar for ctaylo21
0
178
Member Avatar for elbeato

jQuery issue here. After calling some ajax, I'm having a problem getting a particular div to reload a php file. The only solution that I've come up with is to completely reload the page, but this is really undesirable, because this function is being used as part of a simple …

Member Avatar for elbeato
0
171
Member Avatar for Virangya

hi, i'm trying to add a background color to a element which is positioned before the identified tag. for example, i know the class of one elment and i have a list like below. [CODE] <ul id="one"> <li><a href='#'>text0</a></li> <li><a href='#'>text1</a> <ul> <li><a href='#'>text2</a></li> <li><a href='#'>text3</a> <ul> <li class="item-1"><a href='#' …

Member Avatar for Virangya
0
124
Member Avatar for rotemorb

Hello I'm quite new to Jquery, so bare with me please. I've searched google, but I couldn't find an answer to my question. I'm developing an asp.net 4.0 application, and i wrote a Jquery inside my content page: [CODE] $(document).ready(function () { $("#Button1").click(function () { alert("Hello"); }); }); [/CODE] I …

Member Avatar for rotemorb
-1
116
Member Avatar for davy_yg

Hi I would like to create drop scroll show content, how to do so ? v Fiat Justitia Ruat Caelum Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer eros risus, vulputate vel iaculis vel, luctus ac arcu. Vestibulum metus ligula, dignissim nec viverra a, interdum ut magna. Donec dignissim …

Member Avatar for pritaeas
0
475
Member Avatar for azegurb

Hi all, I have taken from net chained select script. here is all PHP and Javascript files but i dont understand one thing there. index.php file [ICODE]<?php include('db.php'); include('func.php'); ?> <!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>Chained Select Boxes using …

Member Avatar for azegurb
0
231
Member Avatar for Violet_82

HI there, I am having a few problems understanding how drag and drop works in jquery. Say I have this (which is taken from a text book): [url]http://aharrisbooks.net/jad/chap_12/dragDrop.html[/url] In the code you have [CODE] ... //make all drag me elements draggable $(".dragMe").draggable(); //set target as droppable $("#target").droppable(); //bind events to …

Member Avatar for Violet_82
0
327
Member Avatar for dijjio

Hi ^^ sorry, iframe! I am able to load an external website into an inline iframe I have on page1.php by adding target name to the hyperlink. However, what I can't seem to get working is making the URL load into the iframe through simply adding the link to the …

Member Avatar for dijjio
0
130
Member Avatar for stanley87

Hi,guys,morning to all :) I have face 1 situation, i already built an api using the rest method, and all my response data will be return in html data when i call the api, i testing on the same server using the jquery working fine, when i use on another …

Member Avatar for stanley87
0
337
Member Avatar for sassygray5

Hello all! I am new to JavaScript and was hoping someone could help me with a jQuery assignment. My page is online here: [URL="http://baileyjumper.aisites.com/JavaScript/Homework3/marcum-loren-hw2-jquery.html"]http://baileyjumper.aisites.com/JavaScript/Homework3/marcum-loren-hw2-jquery.html[/URL] What I currently have is a to do list, where you enter text into a textarea, and what you type is appended as a list item …

0
81
Member Avatar for Romil797

how do i get the id of the item being moved in a sortable? also how do i get the new position of the item? its in an update block, but it wont give the id. here is my code: $(function () { $("#sortable").sortable({ update: function (event, ui) { alert(ui.item.value); …

Member Avatar for stbuchok
0
72
Member Avatar for raul8

Hi, I want to change color of a <div> element after some delay: For. e.g: Initially div is in Orange Color. Then onClick it will become White then after half second delay, it will become Black. But it is not working. It becomes black on the first click & White …

Member Avatar for ckchaudhary
0
318
Member Avatar for laklaker

Hello guys! I created a website. I tested it on my computer it works when I transfer it to the host it won't work now :( here's the code [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 5.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>NeverlastingRO</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" type="text/css" href="ceres.css"> <script …

Member Avatar for laklaker
0
140
Member Avatar for Johnbonono

I have a div with 2 divs inside it. The container div is positioned relative, and the 2 inside it are positioned absolute, one on top of the other (on the z axis). I made it so that when the mouse enters the container div, the top div slides up …

Member Avatar for ckchaudhary
0
202
Member Avatar for MattWhitehead__

Hello, I'm having trouble with a webpage that has multiple CSS. The issue is the jQuery on the page, which doesn't work. The page I'm trying to get to work; [url]http://www.sahara-online.co.uk/demo/News.htm[/url] So does anybody know what to do? - some help would be much appreciated. Thanks Matt.

Member Avatar for ctaylo21
0
212
Member Avatar for tqmd1

Dear Experts, I have following codes [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <META content="text/html; charset=windows-1252" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 8.00.7600.16912"> <style type="text/css"> .back {clear:both;width:100px;height:30px;padding:5px;color:green;font-style:bold;} h3 {color:blue;font-style:bold;BACKGROUND: url(hotmail2.jpg) no-repeat center #90bade;line-height:30px;} #box {width:275px;height:275px;padding:5px;margin:5px;background:#e3eeff;text-align:center;border:1px solid #069;} </style> <script type="text/javascript" src="jquery-1.7.1.js"></script> <script type="text/javascript" src="jquery.corner.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('input[name="RD"]').click(function(){ alert("Please note …

Member Avatar for tqmd1
0
118
Member Avatar for rotemorb

Hello I'm quite new to Jquery, so bare with me please. I've searched google, but I couldn't find an answer to my question. I'm developing an asp.net 4.0 application, and i wrote a Jquery inside my content page: [CODE] $(document).ready(function () { $("#Button1").click(function () { alert("Hello"); }); }); [/CODE] I …

0
68
Member Avatar for 3825

Here is a snippet from my _layout.cshtml file from one of the projects I am involved with... [CODE]<link href="@Url.Content("~/Content/themes/ohl/jquery.ui.all.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.ui.selectmenu.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery-ui-1.8.16.custom.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.checkbox.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.safari-checkbox.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.autocomplete.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/PagedList.css")" rel="stylesheet" …

Member Avatar for 3825
0
233
Member Avatar for teamjea

When I in FF send an updated textarea text for database update I do not get the current value, but the old value. I use jquery, and as far I can tell there is nothing strange in the code, thd DOM is loaded etc. When I do the same in …

Member Avatar for Troy III
0
134

The End.