15,127 Topics

Member Avatar for
Member Avatar for softDeveloper

Hi, I want to get all the elements (span, paragraphs, div, etc.) that hold text inside, but just text. e.g.: If I had : <p>this is a paragraph</p> <p><div>this is a paragraph with a div inside</div></p> <div>this is a div</div> <span>this is a span <span>with a span</span>inside</span> So I would …

Member Avatar for ko ko
0
74
Member Avatar for thirumal.balu.3

im using jqgrid datepicker but date will show in mm/dd/yy in this format i have to change the format in runtime how i can change dis format anyone can help me

Member Avatar for pritaeas
0
132
Member Avatar for VenusCrystal

Hi, I have a table with one column which contains icons. On hover over icon I am showing/hiding a dialog box or a page. The problem is sometimes dialog boxes dont go away. Any suggestion how to deal with this? Thanks, VC

Member Avatar for iamthwee
0
92
Member Avatar for asaidi

Hi > nice to be in DANIWEB > really i m stucked in collecting value from ajax > i have an html select option on onchange on account i have the list of the customers belongs to the account > the problem i cannot collect the value of customer choosen …

Member Avatar for pritaeas
0
94
Member Avatar for jwelsh

**The problem:** Our "thankyou" page (goal page) is not recording all of our conversions. For instance, our analytics account is showing 19 conversions for yesterday, but we actually had 34 conversions. **The situation and the Code:** Our thankyou page is being called dynamically from the checkout page through a jquery/ajax …

Member Avatar for Taywin
0
399
Member Avatar for laura301019

Trying to validate a form that contains information about a car. Have all the validation completed apart from part for the registration number, the format it has to be entered is two letters, a hyphen, last two digits of the year its from, another hyphen, then 3 letters. eg GT-00-TRE. …

Member Avatar for Taywin
0
165
Member Avatar for laura301019

Hi, practicing some javascript tasks and need some help with how to use a for loop to go through an array (which has 10 integers entered by the user). The for loop is to check if there are any duplicates of numbers and then i need to remove the duplicates. …

Member Avatar for laura301019
0
124
Member Avatar for vizz

I'm adding class through script to `<strong></strong>` ` background-color:transparent;` is OK in chrome and firefox but in IE adds black color around image **menu_bg.png** How to remove black background of image? **script** $("#navlist li a").hover(function() { $(this).parent().find('strong').addClass("hover"); }); **CSS** .hover{ display: inline-block; position:absolute; background: url(images/menu_bg.png) center no-repeat; background-color:transparent; } **HTML** …

Member Avatar for vizz
0
337
Member Avatar for Travus

I am using the [jQuery validation](http://docs.jquery.com/Plugins/Validation) plug in on a website I am creating. The validation works, and the messages are set, however when they get displayed on my webpage they have line breaks. I only display one message at a time so I dont know why a single message …

Member Avatar for Travus
0
1K
Member Avatar for SolidSora

I've got a photo gallery button on my website. I've got one button that looks like a forward arrow, which works fine and a back arrow, which does nothing. Also clicking on the thumbnail to view a larger one works fine. Everything is fine except for the back arrow. Here …

Member Avatar for Helianthus
0
159
Member Avatar for laura301019

I have the following code that I'm trying to modify so that the speed of the ball will slowly increase over time. Never done any JavaScript coding for animations before so it is quite new to me so any help would be great thanks. <html> <head> <title>Interactive Game</title> <script language="JavaScript"> …

Member Avatar for rotten69
0
169
Member Avatar for godzab

I am just starting to load ajax. Whats supposed to happen is when you click on the submit button, the contents of a php file will be put in the paragraph. The problem is that it ouputs undefined. Here is the code: ajax.php <html> <head> <title>Welcome to our ajax page</title> …

Member Avatar for godzab
0
131
Member Avatar for vishalonne

Hi I am trying to validate a form with different type of message for different error, but you can see [Click Here](http://cbsecsnip.in/csnip/form.php) the problem. Please guide me in solving this problem... Partial Code of form.php- <!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"> …

Member Avatar for Taywin
0
236
Member Avatar for shehnaz1991

hi i have a form which has 5 textboxes i want to add the values of all this 5 text boxes and place the result in total text box automatically how do i do this pls giv me some code

Member Avatar for Taywin
0
96
Member Avatar for Helianthus

Hi all, I have a new website that has a portfolio page. Currently, the code is such: <input type="image" src="_images/01.png" id="01" alt="" onclick="document.getElementById('outputDiv').innerHTML = '<section class=gallery><img src=_images/img01.jpg>' + '<p>Image name - by Photographer</p></section>';" /> This seems extremely cumbersome and is impractical for a site that could have many images on …

Member Avatar for Taywin
0
488
Member Avatar for VenusCrystal

Hi, I have multiple divs inside a div. I am using jquery event.ctrlKey to select inner divs on ctrl click. It is working, but there is one problem. When I click on inner div elements, it selects parent div also(it gives blue border showing as selected for parent div). When …

Member Avatar for VenusCrystal
0
87
Member Avatar for Helianthus
Member Avatar for rajaravi
Member Avatar for rotten69
0
77
Member Avatar for Graphix

Hey everybody, Lately I have written the game Hangman in many different languages (C, JavaScript, Java and PHP so far). Here is the code snippet for JavaScript! It uses a words file, on the bottom of this post you will see a small example of a few words. The source …

Member Avatar for rotten69
-1
2K
Member Avatar for rahulroshan

i want key code for b+n combined, so that function works only when first b key is pressed and then n is pressed happens. if only n is pressed another function should happen. Plz help thanks

Member Avatar for Taywin
1
148
Member Avatar for cjan

i ve created database called useradmin where the username and password is stored and created a login form too. everything is fine with code and the interface. when i tried to login with false username a message is displayed saying invalid. but when username corrrect and enter wrong password their …

Member Avatar for cjan
0
60
Member Avatar for vishalonne

Hello..! I just want to show an error message if user left text box blank. Here is my code on form.php, I really can find the problem... <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Your Valuable Suggestion</title> <link rel="stylesheet" type="text/css" href="view.css" media="all"> <script type="text/javascript" src="view.js"></script> <script type="text/javascript"> function notEmpty(elem, helperMsg){ alert("Out"); …

Member Avatar for vishalonne
0
140
Member Avatar for softDeveloper

Hi! Do you know how to get elements which text is selected my mouse? e.g.: Several paragraphs in a html file. You select text with your mouse, and you get all "p" elements which have parts of the selected text. Regards

Member Avatar for pritaeas
0
68
Member Avatar for vizz

I want to add clip animation on mouse over to list using jquery my menu structure is, <ul id="menu"> <li><a class="" href="about.php">About Us</a></li> <li><a class="" href="services.php">Services</a></li> <li><a class="" href="works.php">Works</a></li> <li><a class="" href="clients.php">Clients</a></li> <li><a class="" href="contact.php">Contact Us</a></li> </ul> I want to create like [this](http://jsfiddle.net/bazmegakapa/Hftpc/15/)

0
243
Member Avatar for godzab

<html> <head> <title>Hell WOrld</title> </head> <body> <form method = "get" action = "index.html"> <input type = "text" name = "username" /> <input type = "submit" value = "submit"> </form> <script type = "text/javascript"> document.getElementByName("username").onsubmit = alert("Hello World"); </script> </body> </html> In the code, when ever you click the submit button, …

Member Avatar for godzab
0
162
Member Avatar for Violet_82

Hi all, I wonder if you can help me again with some more json. I have this json fragment: cars_data={ "haveAlook": { "xmlns:fo": "http://www.w3.org/1999/XSL/Format", "xmlns:inlineData": "Lookup", "CategoryAttributes": { "attOne": "MyattOne", "attTwo": "MyattTwo", "attThree": "MyattThree", "attFour": "MyattFour", "attFive": "MyattFive", "attSix": "MyattSix", "attSeven": "MyattSeven" }, "TheThumbnails": { "thumb1": "first.png", "thumb2": "second.png", "thumb3": …

0
99
Member Avatar for starkar89

i am developing mobile web app for conducting survey in html5. i need to save user responses in file preferably in csv format. How can do it. i am stuck with storing part.......... please please help me. I cannot use activex for dat purpose coz app needs to work on …

Member Avatar for Walahh
0
103
Member Avatar for laura301019

Hi, so practicing some web development code and the part im stuck on is when a button is clicked it changes to picture and the caption is supposed to change. However no matter what i try the caption remains the same. The following is part of the code i have. …

Member Avatar for laura301019
0
192
Member Avatar for rakibtg

I am trying to write current website url in a frame using javascript. Butt my methods does not working... What I want to do is to write the current url path into this code instead of "CURRENT+WEBSITE+URL+HERE" text. My current iframe code: `<iframe allowtransparency='true' frameborder='0' height='600px' id='web search' marginheight='0' marginwidth='0' …

Member Avatar for rakibtg
0
353
Member Avatar for laura301019

So i need to write or modify javascript code i think, for what i want to do. The web page im developing displays a table with two arrows beneath, one to go show next and one to show previous. I need the show previous arrow to display an alert box …

Member Avatar for Taywin
0
675

The End.