15,698 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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; } … | |
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 | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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. | |
[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 { … | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
![]() | 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
[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> … | |
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" … | |
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 … | |
I have entered value in a textbox and want it to be displayed in the form beneath.How should I do it? | |
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 … |
The End.