jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for Kamboodle

Hi there, I'm currently using GLOW on my website for draggable boxes. However they do not drag in IE. Would anyone have a fix? <script src="style/js/glow/1.7.0/core/core.js" type="text/javascript"></script> <script src="style/js/glow/1.7.0/widgets/widgets.js" type="text/javascript"></script> <link href="style/js/glow/1.7.0/widgets/widgets.css" type="text/css" rel="stylesheet" /> <script type="text/javascript"> glow.ready(function () { new glow.widgets.Sortable( '#content .grid_5, #content .grid_6', { draggableOptions: { handle: …

Member Avatar for Troy III
0
121
Member Avatar for code_rum

Hi, I am working on a tooltip which shows the content in tooltip if present. But the code I am using shows the empty tooltip even the content returned is empty. I don't want to show tooltip or qtip when the content is empty.. :( Here's my code HTML echo …

Member Avatar for Troy III
0
407
Member Avatar for milkman93

Hey guys, I would like that when the HTML page loads to my website, if the user enters a word and presses a specific key (e.g. enter). The event should occur on the page and manipulate an object already existing on the page. Here is an example: 1.) The webpage …

Member Avatar for Troy III
-1
183
Member Avatar for wuzere.crewzz

this is my code function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var colCount = table.rows[0].cells.length; for(var i=0; i<colCount; i++) { var newcell = row.insertCell(i); newcell.innerHTML = table.rows[0].cells[i].innerHTML; //alert(newcell.childNodes); switch(newcell.childNodes[0].type) { case "text": newcell.childNodes[0].value = ""; break; case "checkbox": newcell.childNodes[0].checked = false; break; …

Member Avatar for wuzere.crewzz
0
204
Member Avatar for amweasel

If I make a website using Django, is there any need to use Javascript? Can Django work in place of Javascript itself?

Member Avatar for amweasel
0
313
Member Avatar for GraficRegret

I am working on a live chat function, I have everything working except the message retrieval and displaying function, I am storeing all the messages on my server in a table, I am trying to make a function now to retrieve the most recent message entered and display it in …

Member Avatar for GraficRegret
0
222
Member Avatar for prem2

I have implemented 3D CoverFlow effect slider in jQuery, but its not working in IE7,IE8 so any one can give me solution for this issue. url of coveflow effect slider http://codecanyon.net/item/icarousel/full_screen_preview/2527180 This jQuery function is not working in IE7,IE8 and IE9 and also its a paid versions.

Member Avatar for pritaeas
0
234
Member Avatar for code_rum

Hi, I am struggling with this..I have multiple images and data with same class. As I click on a link with class single_image it should pop up the corresponding div. but its not working every time i click it shows me the same image. I have tried using $("a.single_image").each( function …

Member Avatar for code_rum
0
164
Member Avatar for Don Ocso

Hello, please i want to learn javascript. I need some links to project-like tutorials that can help me understand javascript better, i have read all the javascript tutorials on w3school now i need some better examples. Thank you in advance.

Member Avatar for Don Ocso
0
119
Member Avatar for DarkMonarch

Hey guys it's been a long time i've wrote here. I decided to take a course in JS OOP, my problem is the program doesn't do the difference between objects. Exemple the program work only if i pop 1 object, if i pop a second one, it screws my functions. …

Member Avatar for DarkMonarch
0
236
Member Avatar for littledevils326

Not sure if I am in the right section for this. I am currently designing a web page using javascript, html and css. The page is a seat booking seat which allows the user to select and unselect seats. I have managed to get the page to display id of …

Member Avatar for lps
0
221
Member Avatar for anisha.silva

hi i want to add two dropdown boxes one for the make of the vehicle and one for the model of the vehicle. first the user need to select a make of the vehicle and then when he selects it only the models relevent to the make should display in …

Member Avatar for anisha.silva
0
202
Member Avatar for chr.s

Hi, I'm using the big cartel framework to build a site, and am trying to make an AJAX call - currently without success. My code is as follows: jQ('body').on('click','#closeDetails',function(){ // If necessary condition met if (jQ('#productDetails').attr('class') != undefined){ // Store appropriate category var destCategory = jQ('#productDetails').attr('class').toLowerCase(); // Attempt to alert …

Member Avatar for chr.s
0
318
Member Avatar for Alba Ra

Hello, I want to include SVG into a webpage and to increase its support on older browsers I decided to use [Ample SDK](http://www.amplesdk.com/) to render the images. Unfortunately, Ample SDK does not provide a straightforward guide for people who have not extensive knowledge in some of its features. Its tutorial …

Member Avatar for Member #949455
0
368
Member Avatar for PsychicTide

Hey guys. I'm having a problem with changing the CSS of a div tag. I've done a bit of syntax/semantic research on this, but this situation seems a bit too specific to nail down. Goal: I have 4 checkboxes 1st: center text (turn off 4th checkbox if it is checked) …

Member Avatar for PsychicTide
0
244
Member Avatar for wonderland

Hi, My problem at the moment is a bit different than specified in topic title. I have an Iframe which displays .html file with js/ content slider when i click a link inside of that iframe I want for pop up window (greybox) to appear, but not inside of iframe …

Member Avatar for Airshow
0
311
Member Avatar for Dani

I have an API that supports both JSON and JSONP. Obviously, being a data provider, I want the people who request my data to cache it. However, jQuery's $.ajax() function says the following about their caching feature: >cache (default: true, false for dataType 'script' and 'jsonp') Type: Boolean If set …

Member Avatar for Dani
0
450
Member Avatar for tomato.pgn

i want to make a photo uploader page...that uploads photo and display it in the same page...but i also have one more problem...i don't want page to be refreshed...because i have other controls in that page....can u give an idea how to do so???

Member Avatar for kaore
0
2K
Member Avatar for OsaMasw

I have single input to be enterded into database I want to use ajax to do this The problem that I already have form to do something else so I can't put from inside form how can I achive somthing like this without touching the original form ![ssss](/attachments/large/3/ssss.jpg "ssss") when …

Member Avatar for OsaMasw
0
222
Member Avatar for Lucardy

Hi All, I am having trouble getting this javascript to set a cookie on any browser. Below are the two scripts I am using and if anyone can save me from this week of frustration by telling me what I am doing wrong, I would greatly appreciate it. **This is …

Member Avatar for Lucardy
0
1K
Member Avatar for php_noob

I have this code example <?php $sel_query = "SELECT * FROM tbl_name ORDER BY id DESC"; $res_query = mysql_query($sel_query); while($arr_my_array = mysql_fetch_array($res_Query)){ $cl_id = $arr_my_array['client_id']; ?> <input type="hidden" id="hdn<?php echo $cl_id ?>" name="hdn<?php echo $cl_id ?>" value="<?php echo $cl_id ?>" /> <input type="button" id="btnget<?php echo $cl_id ?>" name="btnget<?php echo $cl_id …

Member Avatar for AleMonteiro
0
200
Member Avatar for f_atencia

I need a function that allows a string to be passed in that strips out everything before a decimal place. For example, 40.00% should be 40. However, it needs to be flexible enough to check if there are no decimals and still maintain the same result. For example, 70% becomes …

Member Avatar for IIM
0
209
Member Avatar for svetlana.msk.1

Can anyone help me with coding? I really don't have any idea how to code such a thing (i'm complete noob at web programming) I want to create a welocome (aka landing) page on my facebook with fan and non-fan content by using "Static HTML iFrame tabs" by Thunderpenny (http://www.thunderpenny.com/app/static-html). …

Member Avatar for Member #949455
0
139
Member Avatar for jcomputing

I am making a mega menu a bit like the one on sky.com. I have noticed that the speed of the menu opening is quite slow. I was wondering is there a way to control the speed of divs using css. Or do I need java Kind Regards, Jonathan

Member Avatar for drjohn
0
115
Member Avatar for trishfernan

In this example how do I reduce the spacing (please refer the image) ![Example1](/attachments/large/4/Example1.png "Example1") CODINGS HTML <!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> <link rel="stylesheet" href="Slider.css"> <script type="text/javascript" language="javascript" src="jquery-1.8.2.min.js"></script> <script type="text/javascript" language="javascript" src="jquery.carouFredSel-6.2.0-packed.js"></script> <script type="text/javascript" language="javascript" src="helper-plugins/jquery.mousewheel.min.js"></script> <script type="text/javascript" language="javascript" src="helper-plugins/jquery.touchSwipe.min.js"></script> <script type="text/javascript" language="javascript" …

Member Avatar for JorgeM
0
150
Member Avatar for Farhad.idrees

Hi i m checking my values from javascript functiions..i m comparing values... alert is showing that values are not euqal but but form is still submitting.....when i press submit.... java script code is <script type="text/javascript"> function validate(value) { var minimum = document.getElementById('min').innerText; var maximum = document.getElementById('max').innerText; var mini = parseInt(minimum); …

Member Avatar for radhakrishna.p
0
125
Member Avatar for matildacheng

Hi there, Hope someone can help me on this. I really need help. I have a javascript for a rotating image, whereby a total of 10 images will change automatically in every 3 seconds. It works well in a .html page, however it doesn't work in a .php page. In …

Member Avatar for matildacheng
0
592
Member Avatar for smepperson

Using Handlebars.js, I am trying to hide the first element in an array. It would be conditional to an option being true/false. Can this be done without a helper? Thanks Horizontal Menu with > as separator {{#if options.display-home}} <li class="home">{{options.home}}</li> {{/if}} /*If display-home true hide initial separator*/ {{#recursive data "menu-breadCrumb"}} …

Member Avatar for Member #949455
0
178
Member Avatar for Farhad.idrees

Hi i want to close my popup window.. how to do it? window.close() is not working.. i m showing my popup using jquery.. i want to close popup when close button is clicked.. Regards.. fahrad

Member Avatar for AleMonteiro
0
340
Member Avatar for dados

I use this function http://goo.gl/Luxkx to create Fetching Posts by Category with jQuery , but the problem is that I need pagination. For example, I have in some categories more than 10 posts. The first 6 posts show up okay, but I need pagination to show the rest. You can …

Member Avatar for Member #949455
0
488
Member Avatar for biswa2ray

I have created email account in my website(ex: info@mywebsite.com) to use it for sending clients feedback.please guide me in jsp code to solve problem.. and sorry for bothering!

Member Avatar for JorgeM
0
212
Member Avatar for Samyx

Hello Everyone, I am trying to display a graph, but it is not working. I see that the variables is getting the correct value, so maybe the addSeries is not recognizing the variables. Can anyone help me? See the code below: <!DOCTYPE html> <html > <head> <?php //connect to database …

Member Avatar for Samyx
0
200
Member Avatar for php_noob

Good Day Guys, I am working on a web application and I am not that really good in JQUERY/JAVASCRIPT but I am really interested to learn on that part of web development. Here is the scenario, I have menus that corresponds on records statuses Example this is the menus I …

Member Avatar for php_noob
0
380
Member Avatar for aneeqtariq_143

i am trying to get the value of radio button which is generated by jquery. I think there is some problem in call events. Here is my code. HTML `<div id="divOption1"></div>` Jquery radio button generate `document.getElementById('divOption1').innerHTML = '<input id="option1" type="radio" value="1"/> '+ questions[currentQuestion]['option1'];` here i call jquery function to get …

Member Avatar for ruchi18
0
359
Member Avatar for dinhunzvi

i have a php associate array and i want to convert it to a javascript array. how best do i do this

Member Avatar for code739
0
174
Member Avatar for Evil_genius82

Hi All, new to Javascript and stuck on a small issue, its a little late and my head is not thinking straight. The scenerio is I have two textboxes and a submit button. All i want is the values to transfer to a function so i can change 2 global …

Member Avatar for Evil_genius82
0
134
Member Avatar for milkman93

Hey guys, In the following code I'am trying to change the shape of the box and also be able to move it around the page with the cursor keys. Here is a link to a site hosting the files: http://mobile.sheridanc.on.ca/~agnihopr/WebDev2_A3/ HTML Code: <!DOCTYPE html> <html onkeypress="boxReset()"> <head> <title></title> <meta charset="utf-8"> …

Member Avatar for AleMonteiro
0
327
Member Avatar for pucivogel

How do i reference to a folder? I'm want the photos in folder 'gallery1' to be shown when i click on it, this htm code is in the same directory with folder gallery1 i've done this: <a href="gallery1" onclick="return false" onmousedown="ajax_json_gallery('gallery1')">Gallery 1</a><br> but nothing shows when i click on it

Member Avatar for Member #905211
0
267
Member Avatar for jelly46

I have been assigned to build a form in flat html but parses a small bit of info to a dynamic (asp) page on a CMS. Can i do this in Javascript or just HTML? I have looked at quite a few question on this but nothing answers what I …

Member Avatar for jelly46
0
67
Member Avatar for dinhunzvi

i have an html form with two text boxes. one is for the product name and the other is for the price. i want the text boxes for price to allow numeric values only. is there a way of limiting user input for this text box using javascript

Member Avatar for radhakrishna.p
0
180
Member Avatar for mahesh m

hi, i used this code for caturing the close event in firefox browser .but the alert is getting when refresh and closing the tab in the browser also . can anyone help me out from this problem. if (!event.clientX && !event.clientY ) { //alert(event.clientX+" ,"+event.clientY); alert(event.pageY); if(event.pageY) { alert("hiiiiii in …

Member Avatar for stultuske
0
115
Member Avatar for keithcorwin

Hi Everyone, This is a simple problem. I'm making a flowchart-based troubleshooting guide. There are checkboxes on each process box which will generate a text when the checkbox is clicked. The generated text would be on a textfield area which a user can copy. hope anyone can help me with …

Member Avatar for printersdelhi
0
125
Member Avatar for i_tec

An expression as ((a+b)*c) will be input in a textbox. there is a textbox to enter no of variables and according to that 3 textbox for above expression should appear in which we will give value of a,b,c. after click on button calculate it will calulate the value of the …

Member Avatar for Momerath
0
36
Member Avatar for techyworld

Hi i need a simple timer for seconds which keep increment. 0 1 2 3 ....30 Can anyone help?

Member Avatar for slametcahboyolali
0
128
Member Avatar for GraficRegret

I need to create a script to scroll the ads on the website I am developing, with the pages. The want the ads to stay on screen when everything else scrolls, Anyone know where to find a good tutorial on this or have a good code to do this with …

Member Avatar for GraficRegret
0
353
Member Avatar for SMode55

I'm making a administration panel which is generated with Jquery's live and post it works fine.Inside the generated page I'm trying to be able to edit a user in their respective rows so i want to run a post function to retreive the input of a textfield and onkeyup use …

Member Avatar for AleMonteiro
0
201
Member Avatar for pucivogel

How can i make an ajax request through a link, i mean when i click on link <a href=.... it sends an ajax request to a php file which shows in my case a table?

Member Avatar for JorgeM
0
406
Member Avatar for scholarwithfire

Im new to Javascript stuff especially on JSON and Jquery. I have successfully implement the monthly view of FullCalendar but is there anyway to show or pop up the dayview based on the date when user clicked on monthly view? Any help would be much appreciated.

Member Avatar for Member #949455
0
136
Member Avatar for jeets1892

I wrote a code below. What I am trying to do here is, when the three right cells are selected, it should show a message saying "Right" , if not then should say "Try again". So far my code only highlights the cells. I am wondering how do I proceed …

Member Avatar for Member #949455
0
163
Member Avatar for jacob21

Hi, I am working on google charts.Below code is showing tooltip in case of core graph. I am trying to show tooltip in case of Table chart. need sugestions corechart code: <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("visualization", "1", {packages:["corechart"]}); google.setOnLoadCallback(drawVisualization); function drawVisualization() { data = new google.visualization.DataTable() data.addColumn('string', …

Member Avatar for Member #949455
0
1K

The End.