15,120 Topics

Member Avatar for
Member Avatar for Nahiyan

Hello, So I was working with php, jquery, javascript and html to make a show/hide toggle system. I use php to fetch some data from my database and display them using html. I use jquery to make the show/hide toggle functionality. However, as I rely on php's while loop I …

Member Avatar for Nahiyan
0
196
Member Avatar for gerbz

how could i open a new window using javascript inside php that holds a value of a js variable? please help. thx

Member Avatar for gerbz
0
228
Member Avatar for lm111

I was wondering if someone could help me? In my code below what if answers in question 2 were allowed to be in any order? Like: hips,body,knees or knees,hips,body and so on. How should I modify my code? Anyone please???? [CODE]<!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" …

Member Avatar for lm111
0
1K
Member Avatar for bala2111

hey all, Am trying to display the div tag and its content by clicking it. the code below displays the whole source code when cliked on the div with id = softros. I want to make this script to display the div in view source format of the browser when …

Member Avatar for Taywin
0
332
Member Avatar for Rahul V S

hi friends, I'm trying to read an XML file using a jQuery 1.4 ajax ... the code is something like this ... [CODE] $.ajax({ type: "GET", url: "abcde.xml", dataType: "xml", error: function(){ /* error lines goes here */ }, success: function(){ /* success lines goes here */ } }); [/CODE] …

Member Avatar for Matthew N.
0
234
Member Avatar for tmash

Please help if anyone can spot the problem. This [URL="http://www.propertyscanner.co.uk/register/"]form[/URL] uses jquery 1.6.2 and its causing a bug in Mac 10.4 . see file attached.Would appreciate any responses.

Member Avatar for Matthew N.
0
64
Member Avatar for Rizi004

Hi every one my question is that i want to validate the form when any one wants to login or sign Up i want to check that the email address is correct or not means that email address include '@' char or not if not an error message should be …

Member Avatar for Rizi004
0
361
Member Avatar for sumitkjm

Hi, I am working to call java script function from java program. I am able to do with simple javascript functions like below: ScriptEngineManager factory = new ScriptEngineManager(); ScriptEngine engine = factory.getEngineByName("JavaScript"); engine.eval("function printHello(Str) { print('Hello World') } printHello('Hello World')"); But not able to do the javascript function which includes …

0
46
Member Avatar for srdva59

hello, i have a Trajan Pro font on my site. when i put in the web, the people that donĀ“t have the font installed on computer is unable to see with the font that i choose. how can i load the font on my server? i beliave there is some …

Member Avatar for Matthew N.
0
236
Member Avatar for techyworld

I'm doing a registration form.I want to validate the email address before submitting the form using ajax.That is to verify if the email address already exist in the database.Can anyone help me please?I don't know what's wrong with these code! regist.html: <html> <head> <script type="text/javascript"> var http_request; //global variable function …

Member Avatar for twiss
0
1K
Member Avatar for emulman

i'm creating a weapp and i must use a table to show data from a series of records. I use JQuery to open a window to show the table. Inside every TD tag i want to format data using CSS3, like using [B]box-radius[/B] and/or [B]text-shadow[/B]. The problem is that i …

Member Avatar for Taywin
0
87
Member Avatar for gamestoenjoy

Hi, I try to change script source dynamically. When I use the following code, it works fine, and the script is executed [CODE]<script type="text/javascript"> document.write('<script src="http://gamestoenjoy.com/site/test.php"'); </script>[/CODE] However when I use the following code, it doesn't work, the script isn't executed [CODE]<script type="text/javascript"> var url = "http://gamestoenjoy.com/site/test.php"; document.write('<script src=url>'); </script>[/CODE] …

Member Avatar for twiss
0
153
Member Avatar for emulman

Using JQuery and CSS with javascript happens a very strange thing...i'm doing a site where every page has 5 DIV in vertcal, called "div1", "div2" and so on. Every page can have a different height, so i use the following script: [CODE] <script type="text/javascript"> $(document).ready(function() { var sH = $(document).height() …

Member Avatar for emulman
0
314
Member Avatar for arshadshaikh

How to play sound file like .wav file with javascript and/or DHTML when some one mouseover to a link. I have done this... but it only works in IE while it does not work in other browsers like firefox and chrome. Can any body help me regarding this issue.

Member Avatar for falakniazi
0
426
Member Avatar for gotboots

Hi all, I have this code that seems to work fine for the order but cant get it to pass the invoice side of things. the trouble im having is when i do the order its fine, but when i do an invoice it sends me back to the order …

Member Avatar for gotboots
0
160
Member Avatar for saideepak89

hi... How to kill/abort the request (ie currently processing) to Applicatin server ,like clicking the "submit new thread" button of IE and i want to stop posting .The main thing is that it has to kill the entire process .Is there any java Script to Handle this requests,or we can …

Member Avatar for twiss
0
226
Member Avatar for Roy Murphy

I'm having issues in populating a select list in IE. The following snippet works fine in Chrome, Firefox and Safari browsers. Are there any obvious known issues with this snippet that would prevent the information populating? I can't figure out if it's the button IE doesn't like of the Select …

Member Avatar for Taywin
0
197
Member Avatar for ivanichi

Hi friend, i have 2 files 1. ft.php and 2. inf.php [B] this is ft.php[/B] [CODE] <script type="text/javascript"> function setTXT(x) { opener.document.fmain.mms.value=x; window.close() } </script> <? include_once "conf.php"; $sql="select id,pl,inf from det_pl"; $data=mysql_query($sql); ?> <br> <table width="100%"> <tr> <td align='center' class="headlist" >no</td> <td align='center' class="headlist" <?=$colspan?> >code</td> <td align='center' class="headlist" …

Member Avatar for AleMonteiro
0
296
Member Avatar for stoopkid

I'm really no JavaScript expert, and I have absolutely no idea what exactly is causing this error. I am using a Photo Gallery script called Galleria which uses jQuery/JavaScript to display photos. On my index page load (only in Internet Explorer), a message box pops up saying "Message from Web …

Member Avatar for Taywin
0
148
Member Avatar for k8f1

Hi all, I would be extremly graeful if you could cast your eye over the following problem and give me some advice if possible. I'm ok with the basics of html and css, but and fairly new to it, so have been stumped by this latest problem. I built a …

Member Avatar for Taywin
0
215
Member Avatar for m1n1m3

Hi! I have a function that i like to move 2 image objects around. (it works with 1) But im getting errors while im trying to pass multiple object id-s. I believe example will tell you more. [CODE] <script> function Init() { document.getElementById('pilt_kivi').style.left = x + 'px'; document.getElementById('pilt_kivi').style.top = y …

Member Avatar for m1n1m3
0
239
Member Avatar for fire eaters

[U][B]textbox to search for employees[/B][/U] [CODE]<div id="searchform"> <div id = "courses"> <form id="searchempform" name="searchempform" method="post" "/> <li> SEARCH <b>EMPLOYEES</b> &nbsp;<input type="text" name="searchemployees" class="textbox" [COLOR="Red"][B]onkeyup="searchemp();[/B][/COLOR]" /> </li> </form> </div>[/CODE] ======================================================= [U][B]typed characters sent ... ajax call to another page look out for data[/B][/U] [CODE]<script type="text/javascript"> function [COLOR="Red"][B]searchemp()[/B][/COLOR] { if (window.XMLHttpRequest) {// …

Member Avatar for Taywin
0
137
Member Avatar for stephen_UK

Hi, I have url links in an Access Database which open different info screens depending on the record. I want to include some code in the html which isn't blocked by browsers, but restricts the html code to an initial window of approx 800x600, but can be resized, but importantly …

Member Avatar for Taywin
0
179
Member Avatar for MooGeek
Member Avatar for KE50

Hi, I have been trying to get my way round the DOJO charting using the declarative (html) method. 1. I have a ItemFileReadStore for the data source 2. I know the data store has data as I am outputting it to a grid as well. The only thing that appears …

Member Avatar for KE50
0
107
Member Avatar for bloodbender

Hello Daniweb, I'm trying to validate form fields with php via jQuery and everything is working great, except for one thing I can't figure out. I'll try my best to explain. Here's the jQuery: [code] $(document).ready(function(){ $("form#reservation").submit(function(event){ event.preventDefault(); // Prevent default submission of form }); $("input#continueReservation").click(function(event){ event.preventDefault(); // Prevent default …

Member Avatar for bloodbender
0
175
Member Avatar for uselessninja

hi..i've searched google for this and yeah..google give me what i expected.. but it is possible to capture a screenshot from webcam and passing it to php and then saving it to database.. picture --> javascript --> php --> database or picture --> javascript --> database (well i dont know …

Member Avatar for uselessninja
0
195
Member Avatar for Donnovan

hi everyone, i never worked with php or any script language before i am more of a java, c++, C programmer, but for a school project i need to program a character converter in php, i have some problem recieving response from my php file. can someone help me this …

0
82
Member Avatar for magnetic rifle

I'm trying to create a program and found this website that was exactly what I wanted. When I followed all the instructions I got this java code which makes no sense and also gives errors when I try to assign a class. Please help. [url]http://labs.unwieldy.net/moocirclepack/[/url] [code] <script type="text/javascript" src="js/mootools-1.2-core-nc.js"> </script> …

Member Avatar for Taywin
0
165
Member Avatar for end3r

Hi, Can you tell me what is the regular expression for a comma-separated list (in this case - IPs) ? My list looks like this: [CODE] 192.168.0.1, 10.%.23.100, %.46.%.1 [/CODE] So far I managed to create this: [CODE] ^[0-9%]{1,3}.[0-9%]{1,3}.[0-9%]{1,3}.[0-9%]{1,3}$ [/CODE] But I don't know how to specify a comma-separated list …

Member Avatar for Taywin
0
323

The End.