15,698 Topics

Member Avatar for
Member Avatar for newbie14

Dear All, I have two pages with the similar codes. One is here [url]http://183.78.169.53/tm/addTyreSwap1.php[/url] in this page you have select the vehicle via the drop down list then a number of tyre will appear via the ajax call. The problem is that both the draggable and droppable is attached to …

0
78
Member Avatar for rouse

I am writing some learning code to convert an XML file to a JavaScript array. So far I can convert from XML to JSON with this: [code] <?php $xmlStr = simplexml_load_file("xml/galleryXML.xml"); $jsonStr = json_encode($xmlStr); ?> [/code] I don't know and can't find a way to convert to a JavaScript array …

Member Avatar for rouse
0
373
Member Avatar for extemer

what i am trying to do is when i click the div it decreases to width=100px and when i click it again it changes it to original size but i am getting the problem in the second part where i want to re size it to original size i known …

Member Avatar for Airshow
0
149
Member Avatar for fire eaters

when i click the link the the div is resized to 100px .. but again if i click i want to the the div to be same as before (800px) using the same sliding animation ..how can i do that [CODE] #ee{ border:1px solid #00F; height:100px; width:800px; position: absolute; } …

Member Avatar for extemer
0
112
Member Avatar for shashankit

I have a HTML table having currently 3 rows and 7 columns. here rows and column may increase in future. Row1.Column3.Value= Row1.Column1.Value + Row1.Column2.Value Row1.Column7.Value= (Row1.Column3.Value - Row1.Column4.Value - Row1.Column5.Value ) * Row1.Column6.Value It should be repeated in every rows. I did but my code traversing only with first ROW

0
43
Member Avatar for William Blore

okay, I've got another problem. How can I obtain content of cascade style, using javascript? I know, there's a code document.getElementById('id').style.border='5px solid blue'; for example, but I need to do reversed operation, not to change style, but obtain it. I hope I've described my problem clearly enough enough ;) Thanks …

Member Avatar for extemer
0
121
Member Avatar for Rahul V S

Hi, :) I am a newbie here and this is my first post. :?: I always wonder whether there is a better way of putting this or that or is there a work around for that, etc.... :idea: So, its better if we can have an uncluttered discussion topic that …

Member Avatar for LaxLoafer
0
95
Member Avatar for Lyandor

Hey guys, is there a way to get a node's name and assign it as a value to a variable using javascript? Here's an example structure of the xml. [CODE] <list> <student id="101"> <name>John Smith</name> <DOB>07-09-1987</DOB> <address>123 ABC street</address> </student> <student id="102"> <name>John Doe</name> <DOB>05-04-1986</DOB> <address>234 DEF street</address> <address2>345 GHI …

0
108
Member Avatar for rakwel10

Can I configure this function to make it print a certain pixel only? Around 500px X 700px Center. <script language="javascript"> ... function printpage() { window.print(); } </script> Is it possible?

Member Avatar for Airshow
0
156
Member Avatar for niche1

I have a html script with some JS and a php script that produces a comma delimited string of suggestions of first names to enter into an input field. It only works for "B" names right now. I need to turn this script into a combo box and can't think …

Member Avatar for niche1
0
164
Member Avatar for dwlamb

Good day, I've done some searching on this topic but am not sure if I am defining terms properly in order to get results. I am new to AJAX and can execute the process of dynamically adding some content. But I want to take it one step further for adding …

0
74
Member Avatar for Ajaxnewbie

Hi there! Okay, here is my scenario: I have a link and a div on a webpage. With the link I want to toggle the content (HTML) of the div. On toggle, I want to load the content from a PHP-file and I want it to load on the toggle, …

Member Avatar for LaxLoafer
0
158
Member Avatar for jonsan32

I have 6 horizontal navigation image links on top of my site. The regular images are black n white, but on the hover they transform to a colored image. Each image leads to a different page on my site, I'm wondering if I can make the image corresponding to that …

Member Avatar for shravan24
0
243
Member Avatar for tomjrjones

Hello i trying to create a little diary using jquery, i have a script where you enter in the textbox then it displays it in a div with a delete button. how do i make it so when i go back to the page the text is still the but …

0
92
Member Avatar for JDoggieIII

I am attempting to use a WebBrowser control in C# to display a webpage. I would like my C# application to know when a Javascript function is called within the loaded webpage. Is there anyway to do this? I can't seem to find an event handler for it.

Member Avatar for JDoggieIII
0
388
Member Avatar for krishna501

[CODE]<%@page import="java.util.Calendar"%> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>employee leave application</title> <script src="EmpLeaveValidation.js" type="text/javascript"></script> <style type="text/css"> #ehint { position: absolute; right: 230px; top: 18px; } #cnhint { position: absolute; right: 200px; top: 40px; } #chint { …

Member Avatar for ddymacek
0
135
Member Avatar for Virangya

Hi, i'm really new to jquery and i don't know how to solve this. i added following code to blink a div. initially mypopup div is hidden. and 10 seconds after page was loaded this div appears. because of this toggle() method div displays for 10 more seconds before hiding …

Member Avatar for ddymacek
0
270
Member Avatar for taylordsmith

Greetings, I am attempting to paste a javascript music player into my site from the developers at cashmusic.org. The music player displays and plays files correctly in the 'live view' display in Dreamweaver, but will not display at all in browser preview (Chrome & Safari). I have brought up Chrome's …

0
152
Member Avatar for ghost_from_sa

Hey guys, I was wondering if there is possibly an "onBlurr" or "onChange" way I can check using JavaScript if a Birth date is correct I've seen a couple but I have a pretty simplistic way about how I want to get it done. Basically what I would like to …

Member Avatar for jbennet
0
218
Member Avatar for Virangya

hi, i need to build a slider. which is not there in the page when it loads. then after few seconds it appears and slides from the right hand side of the window and stops at some position on the screen. then after few seconds it changes its image into …

Member Avatar for Virangya
0
183
Member Avatar for ghost_from_sa

Hi guys, I seem to have come across a weird issue in internet explorer. I've been working on doing regular expressions for a register form, and I've checked it in Firefox, and Chrome and it seems to work for both of them but yet it doesn't work for Internext Explorer …

Member Avatar for vibhaJ
0
252
Member Avatar for 54uydf

I added an editor from this site [url]http://dhtmlx.com/docs/products/dhtmlxEditor/index.shtml[/url] it works when I add words but when I click submit the text doesn't go through the POST how do I do this? I added a textarea like in one of the examples on that site, and another button that when clicked …

Member Avatar for AlexandraKl
0
327
Member Avatar for emulman

in a my page i have create che code for a modal dialog box in jquery: [CODE] <script type="text/javascript"> $(document).ready(function() { $('#dialog').dialog({ autoOpen: false, height: 280, modal: true, resizable: false, buttons: { OK: function() { $(this).dialog('close'); } } }); }); </script> [/CODE] i should want the window appears if a …

Member Avatar for emulman
0
1K
Member Avatar for DILO3D

I describe my problem with following simple example. here when i click the test button it will create a new test button inside div tag. But after that if i clicked new generated test button document.getElementById("test" ).onclick = function() is not working. how can i add functions to new dynamically …

Member Avatar for ko ko
0
2K
Member Avatar for Thisisnotanid

Hi all, I'm new to web development and am experimenting with different things; one of which would be creating a visually appealing "drop-down" menu. I had a simple CSS selector setup before but I opted for a JavaScript solution instead, making the change for the greater flexibility which the approach …

Member Avatar for Thisisnotanid
0
242
Member Avatar for ankit.pandey3

[CODE]<?xml version="1.0" encoding="[CONTENT_ENCODING/]"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="[LANG_CODE/]" lang="[LANG_CODE/]" dir="[BASE_DIRECTION/]"> <head> <meta http-equiv="Content-Type" content="[CONTENT_TYPE/]" /> <title>Micro Customer Care</title> <style type="text/css"> body { padding:0; margin:0; } </style> [STYLE_SHEETS/] <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="css/ie5-6.css"/> <![endif]--> <script src="js/chat.js" type="text/javascript" charset="UTF-8"></script> <script src="js/lang/[LANG_CODE/].js" type="text/javascript" charset="UTF-8"></script> …

Member Avatar for ddymacek
0
178
Member Avatar for phaedrusGhost

Hi All, I am using a loop to display professionals and their data on a webpage. I have a "Recommend" button that is included in this loop and when clicked, displays a jquery POPUP form that will email the chosen professionals data. My trouble is, when I click the "Recommend" …

Member Avatar for ddymacek
0
162
Member Avatar for William Blore

Hello, I've get very elementary problem with javascript I add onclick option to one of paragrahps, but it doesn't work properly, It should display result of my new function, but it display result in a new, empty page. (My function work properly, but connecting it with onclick and button is …

Member Avatar for William Blore
0
117
Member Avatar for anupama385

I have entered value in a textbox and want it to be displayed in the form beneath.How should I do it?

Member Avatar for krishna501
0
290
Member Avatar for bookmark

Hi. I was wondering if there was a command that allows you to return to the beginning of the script. Let's say /pseudocode/ You ask for pass word if password is correct --> do nothing or just display a random message else if password is incorrect or no password is …

Member Avatar for bookmark
0
96

The End.