15,121 Topics
| |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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(); … | |
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 | |
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 … | |
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 … | |
I need a delete function, I have tried all sorts of things and in this instance I have 2 different functions does not do anything. I just left it here for developmental help. The most I am able to do is delete all rows, **and only want to delete rows … | |
I'm trying to learn JSON/JavaScript as I'd like to use it over PHP/SQL. I was going to do this with TEMPOJS because it seems like that might be the easiest way to start off? I'm getting hung up, however. I can make everything work if I include the JSON directly … | |
[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" href="css/jquery.datepick.css" type="text/css" /> <script type="text/javascript" src="js/jquery-1.4.2.js"></script> <script type="text/javascript" src="js/jquery.datepick.js"></script> <script type = "text/javascript"> function updateSelected(dates) { $('#selectedMonth').val(dates.length ? dates[0].getMonth() + 1 : ' '); $('#selectedDay').val(dates.length ? dates[0].getDate() : ' '); … | |
Hi, I am facing some canvas related problem. I have create canvas at run time to draw a simple horizantal line. And also set tooltip to that canvas. code will execute well and when arrow move on line, display which is also fine. but the problem is around also getting … | |
I'm trying to pass the ac_no contained in my database table to a form that's displayed within a Bootstrap Modal upon clicking a button. My code is as follows. <?php $mydata = mysql_query("SELECT * FROM slabpay WHERE ac_no='$ac_no'"); while($record = mysql_fetch_array($mydata)) { $id=$record['id']; ?> <tr class='fired' id='<?php echo $record['id']; ?>'> … | |
i have just made a game using HTML 5 and Javascript on my PC but now i want to run my game in my android phone .. can anyone help me how can i run that ?? | |
I already made a post at Superuser [Click Here](http://superuser.com/questions/800325/how-to-make-google-search-look-dumb) I will summerize here: [1] http://i.stack.imgur.com/ZN60B.jpg My point is i do not want to see torrent sites in the search results,so if someone searches Google or any other search engine this phrase(-torrent-download-watch) should be automatically and invisibly added. [2] http://i.stack.imgur.com/4mUSt.jpg And … | |
Hi guys. I got draggable to work but im having a problem with draggable on a cloned element. I have a button class `.r6s` that when clicked an image will appear in the `containment-wrapper`. The image is wrapped in a div with id `sixr`. what i did is initially hide … | |
Hi, am not a experianced coder, would like to seek for help. i would like to create a session logout. a pop out appear which able to count 60 sec " Warning your eMyHome session will expire in 60 seconds. Do you wish to continue?" with button continue & logout. … | |
for example: function Show(modal) { $(".box).show(); } so maybe use `<body onload="Show()">` is there any other way? | |
Hello In Form when I Select **"Yes"** in Radio button then **Textbox** Show with **validation**.(Submit button) When Click on **"No"** then submit form without validation. Here my code <form> <input type="radio" name="gender" value="yes" >yes <input type="radio" name="gender" value="no" checked="checked">No<br/><br/> <div id="disp_not"> Company<input type="text" name="company" value="" id="company" /><br/><br/> </div> <input type="submit" … | |
Strictly from a performance standpoint, what are the differences between remove(), hide() and detach()? If I want to permanently make an element go away on the page, is remove() or hide() even marginally faster than the other? | |
I need help in resolving a memory leak found using JavaScript. What the program does is auto scroll the videos and when it reaches the center (supposed to be a grid but for the purposes of this problem, it is not visibily shown but can be noticed immediately) or scrolls … | |
Hi folks, I just started working on a very interesting project as part of my university research for 3D visualization of earth's surface in 3D (not 3D modeling but real 3D!) using nVidia 3D vision in browser environment. I'm planning to use one of web-based javascript mapping platforms (like open … | |
i have done this ajax script so i can delete a page. it works fine the page is deleted from the database but after clicking delete the browser remains on the same page. after i refresh i get a 404. how can i redirect after success to first page? this … | |
Hello there guys I have javascript code for parallex effect its working great but what I need is to transform this code to jquery so my site contain only jquery codes not mixed. <script> var topDiv = document.getElementById("topDiv"); var speed = 1.5; window.onscroll = function() { var yOffset = window.pageYOffset; … | |
I am trying to output the SELECTED TEXT within my javascript code. I created a function that will get the selected text and I just want to output it when the submit button was output. Here's the javascript for getting the selected HTML or TEXT. function getSelectionHtml() { var html … | |
Can someone please verify if there is something wrong with [this](http://www.thecreativesheep.ca/webdesignprojects/largeprojects/CreativeSheep/cs_site.html) page, by clicking the X in the div, followed by clicking the word "reach.me". What is suppose to happen is the div which you had previously closed should bounce in; that is not happening ? |
The End.