15,698 Topics

Member Avatar for
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
83
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
186
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
313
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
116
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
92
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
170
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
133
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
106
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
220
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
168
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
128
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
252
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
977
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
171
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
738
Member Avatar for joemalaya

Hello guys, I want to put youtube video bar in my website... and i already found the way to do it. Using google ajax search api. Google already provide the wizard to generate the code. [URL="http://www.google.com/uds/solutions/wizards/videobar.html"]http://www.google.com/uds/solutions/wizards/videobar.html [/URL] The problem is, by default it shows only 4 videos for horizontal view. …

Member Avatar for Mostarac
0
551
Member Avatar for Eppy Azmi

Can Someone help me to solved my problem. How to count total of value base on dropdown? for example <label for="gender">Gender</label> <select name="gender" id="dr" > <option value="" selected="selected">Select Your Gender</option> <option value="M">Male</option> <option value="F">Female</option> </select> Than i want to know how many record in the database contains Male/Female. This Record …

Member Avatar for pritaeas
0
337
Member Avatar for klemme

Hi all, I am creating an ecommerce site, and have some javascript getting data from dom elements and inserting them into my PHP Cart via AJAX. It all works fine, but then i came to think of possible security issues with my approach. Button inserting data into the cart with …

Member Avatar for pritaeas
0
251
Member Avatar for Siberian

This question relates to another thread. I want to hide a div and keep a div hidden whether it's before or after the DOM loads. I can use hide() to hide the div, the div that is suppose to be hidden, will be hidden behind a div that is half …

Member Avatar for Siberian
0
605
Member Avatar for adsegzy

Hello Friends, Pls I need your help. I am designing a website that has to do with customizing items and ordering for the items. Am example of this is http://www.moonpig.com/uk/Product/Customise/1/LL896 I know this has to do which jquery, ajax & javasctipt. I am a php developer. Pls which scripts do …

Member Avatar for JorgeM
0
285
Member Avatar for Ritesh_4

Hello I am doing maintenance on a web server, and have several js files present which I need to categorize. However, I am faced with the dilemma of identifying between clientside js files and severside ones. Is there a distinct way to identify between these files?

Member Avatar for Airshow
0
157
Member Avatar for gcardonav

I created a page that will take a users input and then compare the input with a word. The idea is that the user has 6 chances to guess the word. If the user guesses the word or ran out of guesses the button clicked will change from Guess to …

Member Avatar for gcardonav
0
131
Member Avatar for Priti_P

Hello, I want to open and dialog box on onclick of image. for that , i had written below onclick code to call function and pass parameter to it. this $skills_id is unique. What I want next is, using this $skills_id, I want open dialog box which fetches and shows …

Member Avatar for dany4ev_1
0
346
Member Avatar for nadiam

Hi, so i have an input text `<input type="text" name="numguest" id="number-of-guests">` and a button `Okay`. When a number say, 4 is entered into that text box and clicked okay, 4 of this text box `<input type="text" name="guest-name[]" placeholder="Guest Name" id="text-gname">` will appear. i tried: $("#okay").on("click", function(){ var num_of_guests = $("#number-of-guests").val(); …

Member Avatar for dany4ev_1
0
376
Member Avatar for davy_yg

Hello, I am trying to create a clickable button that pass value to the next page after the button being clicked. Yet, now what I have is a button that cannot bring me to the next page. study_progress_table.php <button type="button" onClick="parent.location='add_student_progtab.php?study_package_id="'.<?php echo $study_package_id; ?>."'">Add Study Progress</button><br><br> Please help

Member Avatar for dany4ev_1
0
107
Member Avatar for gcardonav

Hi guys, I change my code from Javascript to jQuery and I believe I have everything allright, but my jQuery is not showing the value. Can you help me with it? I am adding the important snippets but if you need all my code here is it [Click Here](http://liveweave.com/YoR5Vz). Thank …

Member Avatar for gcardonav
0
189
Member Avatar for davecoventry

I have a simple php file: <?php /** * email_validation_query: evq.php * This file is placed in the root directory and returns the owner's email address * in the jos_owners table along with the animal's name and the breeder who registers them. **/ $user_name = "user_name"; $password = "password"; $server …

Member Avatar for davecoventry
0
259

The End.