15,120 Topics

Member Avatar for
Member Avatar for ravi142

Hello How can i add ID='xyz'in IMG tag <div class="main-banner"> <img width="1000" height="242" alt="cropped-Penguins.png" class="attachment-full" src="http://../cropped-Penguins.png"> </div> JQuery which i have tried jQuery('.main-banner').append("img").attr('id','xyz'); But Not Work. Give me suggestion Thank you

Member Avatar for noelthefish
0
131
Member Avatar for vizz

[CODE]<div id="wrapper"> <div id="header"> <p>This is the Header</p> </div> <div id="navigation"> <p>This is the Navigation</p> <a href="#">Home</a> <a href="#">About</a> <a href="#">Contact</a> </div> <div id="content"> <p>This is the main content</p> </div> <div id="footer"> <p>This is the Footer</p> </div> </div>[/CODE] This is my HTML code. I have menus in navigation div. Content …

Member Avatar for diafol
0
4K
Member Avatar for vivosmith

Hello, I have been trying to move this box, but so far all common ways of moving the javascript box (whitespaces, CSS) have not worked. I have tried searching the web, amongst other things, and so far nothing has worked. Here is the code: <html> <head> <title></title> <style type="text/css"> #AgodaSearchBox{ …

Member Avatar for mattster
0
250
Member Avatar for markii.borabon_1

Im trying to dynamically add fields when add button is being press.. my code here works perfectly but.. what I want is when I click any of my fields it must add instantly and dynamically .. here:: $(document).ready(function() { var max_fields = 10; //maximum input boxes allowed var wrapper = …

Member Avatar for JorgeM
0
224
Member Avatar for hanspeare_1

Hello there Good day to each and everyone of us here. i have a problem displaying the image i have uploaded in the root directory folder. This is my codes in uploading image. I am using jquery.min.js and jquery.form.js. $path = "uploads/"; $valid_formats = array("jpg", "png", "gif", "bmp","jpeg"); if(isset($_POST) and …

Member Avatar for mattster
0
215
Member Avatar for ivan.moony

New version of Moony Parser is out (2.4) It is an Earley parser implementation and accepts Structured-BNF as grammar input. You can try it online at: [http://parser.moonyweb.com](http://parser.moonyweb.com)

0
77
Member Avatar for Mr Programmer

What I want to do is to show an email sign-up pop up when a link is clicked. This is how I am referencing to the external sumome.php file, which contains the js function: <script type="text/javascript" src="http://www.barcabyfans.com/wp-content/themes/hueman/sumome.js"></script> This is what I am writing for the link: <p>Get more awesomeness <a …

Member Avatar for oriclon
0
320
Member Avatar for Siberian

This jQuery code works, but when translated to the actual page, it's jerky ? [[Link](http://jsfiddle.net/uL8z4p1h/2/)]

Member Avatar for Airshow
-4
208
Member Avatar for davy_yg

Hello, I am trying to create a gallery like in this website: [Web Sites](http://themes.webinane.com/dastak/index.html) When you hover mouse over the gallery certain notes appears on top of the images. How to create such thing through jquery?

Member Avatar for JorgeM
0
78
Member Avatar for Casperjames

I'm fighting with jquery flexigrid - below is my format. I can get the flexigrid to load thousands of lines if I load them all into a single page, however I want to split out pages inside my json response. According to the documentation I believe my format is correct …

0
86
Member Avatar for wikit

Hi guys, thanks in advance for any help. I'm using this tutorial [Click Here](https://www.youtube.com/playlist?list=PL7C25B2F18F68F3EF) To make a multi-file upload. the actual upload works just fine, however the % progress and final file list of uploaded files that is supposed to show at the end is not working. Here is the …

0
175
Member Avatar for dean8710

Hi guys, i am currently stuck at live update the data fetched from mysql. The problem now is, if the table has thousand of data, the webpage will hang/lag because of the setInterval() are fetching the data over and over again. My question is, what is the best solution for …

Member Avatar for pritaeas
0
102
Member Avatar for nickwebha

I am using PhoneGap Build to build an iOS v7.1+ application and using [weinre][1] to debug. I am using the media-capture plugin and file API to capture a video in an attempt get its base64 representation. I can get the video recorder to open, take a video, and return the …

0
81
Member Avatar for jakizak

Hi everyone, For a social system I am working on, I am in desperate need of being pointed in the right direction for how to create a live ajax feed which calls data from a database. Urgently needed, any help much appreciated! Cheers! Jack(Scaasiboi)

Member Avatar for dean8710
0
2K
Member Avatar for prancode

Hi, I am trying to dynamically generate horizontal bars for my project. I would want to make these bars draggable, but I am not able to do so. Could you please tell me how this can be done using javascript/jquery. The code written so far is as follows: <!DOCTYPE html> …

Member Avatar for prancode
0
185
Member Avatar for vivosmith

I tired installing this code on alpenami.michiganhotelsguide.com , but to no avail. The company said that I needed to message them in order to activate tracking. I sent them it, and it is still not working, at which point I assumed it was a problem with the code. Any thoughts? …

Member Avatar for vivosmith
0
312
Member Avatar for naju
Member Avatar for lk123456

Hi, I am new to JavaScript and I was wondering if it was possible to assign two click actions for one button.

Member Avatar for JorgeM
0
114
Member Avatar for riyaz123

Hi guys, I have use 1 javascript code for banner and anther one is just above the footer but 1 javascript code is running and another one is not running.Theefore I just want to know how to run 2 javascript code in 1 page?

Member Avatar for JorgeM
-1
90
Member Avatar for Lonestar Jack

$("#phone").blur(function () { alert('on blur'); }); form code: <form id="input_form" action=""> ... <td class="text_right">phone: </td> <td class="text_left"> <input id="phone" class="input" type="text" value="(123) 456-7890" name="phone" style="background-color: yellow" maxlength="15" size="15"> </td>

Member Avatar for JorgeM
0
167
Member Avatar for SimonIoa

Although i can upload mp3 files locally (wampserver), meaning that the path its been storaged on the database and the actual file is been saved on the folder i have chosen when i upload my site on the internet i can't longer do that. Although the photos i try go …

Member Avatar for Airshow
0
127
Member Avatar for CodyAcer

Hey guys! this is my first time here. i was planning to learn JS to make some Games especially MMORPG Web based games. I wasn't planning to make MMORPG right away, ill start making some simple games. But i want to know if JS is okay for making some MMORPG …

Member Avatar for CodyAcer
0
132
Member Avatar for surferbloggy

Hi i'm showing data from json with angularjs if i write this <div class="boxhotel" > <p>rateChange: {{roomz.RateInfo}}</p> </div> i retrieve this {"@rateChange": "false", "@promo": "false", "@priceBreakdown": "true", "ChargeableRateInfo": { "@total": "343.9", "@surchargeTotal": "53.9", "@nightlyRateTotal": "290.0", "@maxNightlyRate": "145.0", "@currencyCode": "USD", "@commissionableUsdTotal": "290.0", "@averageRate": "145.0", "@averageBaseRate": "145.0", "NightlyRatesPerRoom": { "@size": "2", "NightlyRate": …

0
105
Member Avatar for 9tontruck

I am trying to download (into memory) an image as an object firstm, and display it as a background of body. here is what I have done: var url = "www.example.com/image/image.jpg"; var imageObject; $.ajax({ type: "GET", url: url, datatype:"image/jpg", success: function (data) { imageObject = data; $("body").css("background", imageObject); // not …

Member Avatar for JorgeM
0
217
Member Avatar for decongh

Hi, am trying to update google map markers without refreshing the map page. I used an ajax to refresh the php part of the code, hoping it will couse the markers to move,but no,lol. From what i found out online i need some kind of respond command for it to …

0
163
Member Avatar for romanromeo89

Hello, I have for example a <div id="main"></div> and inside this div tag I load html content from extrernal file using jquery with .load() method. I can see evething has loaded normaly inside this div tag, but can not access any html tag loaded from the external html via css …

Member Avatar for romanromeo89
0
126
Member Avatar for nadiam

hello. i want to use the draggable plugin. i have downloaded the custom bundle : [jquery downloads](http://jqueryui.com/download/) im trying: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Draggable - Constrain movement</title> <script type="text/javascript" src='js/jquery-1.11.0/external/jquery/jquery.js'></script> <script type="text/javascript" src='js/jquery-ui-1.11.0/jquery-ui.js'></script> <style> #draggable { width: 150px; height: 150px; padding: 0.5em; border: 1px solid …

Member Avatar for nadiam
0
249
Member Avatar for ivan3510

Hi! So, as the name of this discussion says, I have some jquery code. And sometimes some parts of them don't work, sometimes they do work. The page is made for conjugating verbs, which is done with php, and this isn't a problem. Here is the code: $(document).ready(function(){ function conjugate() …

Member Avatar for Airshow
0
972
Member Avatar for Daniel_29

I have a simple form on a secure website which submits data using an AJAX process. The website's function is to track inventory and clients for a food pantry. Everything is working great...except for one MAJOR problem... We use a UPC barcode scanner to scan items while we take inventory …

Member Avatar for Daniel_29
0
170
Member Avatar for Ritesh_4

Hello. I have the following existing function, used to load images in fancybox, but although the code works find in FF, in Chrome am getting an error (in the "firebug"-like tool), whereby under the "link.fancybox({..." code it shows "Uncaught TypeError: undefined is not a function". The error does not happen …

Member Avatar for Ritesh_4
0
735

The End.