15,127 Topics
| |
I have a form which will show hidden <div> on selection of a dropdown menu item. My problem is when the form is submitted, all the hidden <div> form elements are sent. I either need to clear all hidden <div> form fields before submit or only submit the visible <div>. … | |
index.html <html> <body> <head> <!--[if IE]><script src="lib/excanvas.js"></script><![endif]--> <!--<script src="libs/prototype-1.6.0.2.js"></script> --> <!-- <script src="//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js"></script> --> <style type="text/css"> canvas { border: 1px solid green; } </style> <script type="text/javascript" src="libs/jquery-1.7.1.min.js"></script> <!-- box2djs --> <script src="libs/Box2dWeb-2.1.a.3.min.js"></script> <!-- <script src="libs/box2d.js"></script> --> <script src='js/box2dutils.js'></script> <script src='js/game.js'></script> </head> <canvas id="game" width="600" height="400"></canvas> </body> </html> game.js http://pastebin.com/VAJE2tiB box2dutils.js … | |
I came across a weird requirement from my client. Format an integer with leading zeros with out changing its type like below 1 = 01 and not "01" 2 = 02 and not "02" I have searched whole google. But didn't found any way to achieve it. It seems to … | |
Is this possible? <li><a href="master.php" class="selected"><span></span>Home</a></li> <li><a href="about.php"><span></span>About</a></li> <li><a href="products"><span></span>Products</a></li> | |
hi the url is localhost/mo/all/iframe.html?city=LHE i want to get the value of city through javascript how i can get this value. thanks | |
So for my website I am trying to create a more button, and a menu will pop up when I create this. There is a picture of an arrow for more, and a picture of a down arrow for less. I have the javascript code done, but it won't switch … | |
I can't select elements within my popover for the Bootstrap framework. I've tried: $("#button").popover({content:"<span id="test">Test</span>", html:true, placement:"bottom"}); And tried selecting the inner span with: $("#test").html("foo"); This doesn't seem to work. Help! | |
HI, Am trying for onload page content from backend(perl) using Ajax .When Tried with simple CGIHTTPServer then, the pages is getting load as required . But as same page i moved to Apache Server , the content are not getting load .Am not getting any error also..:( how to debug … | |
Your coding skills are needed. my website [Click Here](http://www.kidztar.com)works great in all browsers except internet explorer. On the tour book tab, the java script flips through my book. In internet explorer every other page of the book does not show up. Can you look at the code and help me … | |
Dear Everyone! I am building a website which shows in many gas stations the current price. Well, I am stuck a bit, because there are many gas stations around my country, and it wouldn't be a bright activity to keep them freshly every single day. Is there any trick or … | |
Hello everyone! I need help. How do I stop a typing text, how to hide/show a class/id, and load a content everytime a button is press. The problem in my code is it doesn't hide the website, everytime I click the button it always reload the content. Then when I … | |
Hi Admin..!! i want source code in php+ajax for a form, in such a way that, suppose i have a form in php, with 10 different fields, when the user fills that form, the fields next to gender should automaically change, like the remaining fields must be different for Male … | |
When an item is selected in the drop down it will show a text box, but when another item is selected the text box stays and it keeps adding to the end. I need to be able to have only the text box appear that goes with the item. <!DOCTYPE … | |
I wrote this script for my validation page.I used javascript and jquery mixed it all up. For some reason when I submit the gender validation doesnt work right, it keeps asking to validate but every other condition works. What I've pasted below is just the gender condition and the "if … | |
Getting a q is undefined.. I took <option="1">1</option> etc.. and now I'm pulling with ajax from datasrc.. I can't quite figure out how to define my database value.. The one uses query which pulls from the auto start typing.. then it submits to the other page through q - Once … | |
Hi there, I'm currently working on a site using [Big Cartel](http://bigcartel.com/) - an e-commerce online CMS. This means I'm limited to using their own proprietary language for grabbing data content (no PHP support etc...). I'm also using the [Supersized](http://www.buildinternet.com/project/supersized/) jQuery plugin to try and present present data to the user. … | |
im trying to do a mouse over and a onclick swap imag and i cant seem to get the code right and working here is my html 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>assignment 2 cis 154</title> <link href="style.css" … | |
Hy, i am a new here. this is my first post.check this website http://www.abswheels.se/ below slider there is an 3 colunms Marke(Main category) , Modell (Sub Category) and Motor(Sub Category). You can see the default selected menu below slider. When you select other main category than sub category and 2nd … | |
I'm trying to add a file uploader to my website and I was wondering if there is any way or any open source code that can upload a file and the display the contents of the file in an html textarea. This files with most likey be Python or Javascript … | |
Hello, I am developing an online operating system and have a set back. Im not sure whether the programs that are launched (ex: text pad, video player, command line, etc.) should be launched within an iframe or built directly into the operating system. If I do the iframe approach, applications … | |
A)is used for 1) Inheritance in js(JavaScript)? Is this the ONLY way of Inheritance in js? derivedObj.prototype = new BaseObj(); or 2)adding properties/methods to an object, that added to Contractor of this obj? in this case old objects that already instantiated will have as null this property? B)prototype property used … | |
I can't seem to hide my paragraph the way i wanted it to be. I checked my code a lot of times and it seems correct. I don't know why it's not running. <!DOCTYPE html> <html lang="en"> <html> <head> <script type="text/javascript" src="jquery/jquery.js"></script> <script type="text/javascript" src="jquery/toggle.js"></script> </head> <body> <input type="button" value="hide" … | |
Hi everyone, I need some help with Homework I have to create this rudimentary Minesweeper game where I have a HTML page with 100 buttons in a 10 x 10 Table with a value of '1' . My Question is , is there a more efficient method of generating a … | |
Hi all, Im almost there, just need to get the videojs to work in IE9. I can see the player, but the video is not being played, like nothing happens when I press the play btn.. It works just fine in all other browsers, FF, Opera, Chrome, Safari. This is … | |
i have page at facebook with the name of my website (fanPage), i imported like button script from FB to my website code , so i want then when user visits my website then whereever he clicks on my page then it should be actually clicking LIKE button but invisibly, … | |
Hi, I am having some funny problems with hiding and showing the navigation and I am not entirely sure why. Here's the demo: http://antobbo.webspace.virginmedia.com/various_tests/worktest/hidingnavigation/test.htm and here's the code: html: ... <!-- NAVIGATION --> <div id="navBox"> <ul> <li class="mainList"><a href="#">Item 1</a> <ul class="subList"> <li><a href="#">sub item1.1</a></li> <li><a href="#">sub item1.2</a></li> <li><a href="#">sub … | |
How to stop websites going out of frame. for example:- I got website Which goes out of **iframe** tag <iframe src="http://muscleasylum.com" height="100%" width="100%" ></iframe> | |
| Hi, guys, i want to check - url exists or not and i want to do it witj AJAX. What code I must use for it? |
The code below seems to work great in Google Chrome, it hides a question in a div unless the question before it is answered. However, it doesn't seem to work at all in I.E 8. Can someone give me a solution on how to make it work in both browswers … | |
Hello DaniWeb forum users, Thank you for reading my post. I am trying to build a function that checks the content of the form.. My HTML website contains a dynamic number of elements (with a standard of 5 elements) Each element contains 2 input text fields and a jqueri slider. … |
The End.