14,054 Topics

Member Avatar for
Member Avatar for irphan

Hi this is irphan.I am using ckeditor for updating the value into database using php my code contain javascript tags like this .... <script="text/javascript"><a href="costs_prices_rates_book_editing.php" onmouseout="turnoff('pic2')" onmouseover="lightup('pic2')"> <img alt="Get a FREE Book Editing Sample" name="pic2" src="images/pricequote.jpg" style="border: 0px solid; width: 215px; height: 51px;" /></a></script> when i am writing this code …

0
38
Member Avatar for irphan

Hi this is irphan.I am using ckeditor for updating the value into database using php my code contain javascript tags like this .... <script="text/javascript"><a href="costs_prices_rates_book_editing.php" onmouseout="turnoff('pic2')" onmouseover="lightup('pic2')"> <img alt="Get a FREE Book Editing Sample" name="pic2" src="images/pricequote.jpg" style="border: 0px solid; width: 215px; height: 51px;" /></a></script> when i am writing this code …

0
48
Member Avatar for ayesha789

Hi, I want to make a form , in which I have 4 input Fields. [LIST=1] [*]Date1 [*]Date2 [*]Calender Days [*]Working Days [/LIST] When I enter date1 as 2011-04-07 and date2 as 2011-04-11 Then I require in Calender Days = 5 inclusive of date1 and date2 and Working days = …

Member Avatar for McLaren
0
229
Member Avatar for samsons17

Hi all. I got some problem here. I made a website using codeigniter framework. And on my website there is the list of events that are happening at my university.. Whenever a person click on the events title bar, a slide panel like Twitter will shows up next to that …

0
61
Member Avatar for ubi_ct83

hi all, how can i view the number of input field base on dropdown menu selection.lets say user choose 3 from dropwdownmenu then 3 input field are viewed

Member Avatar for ubi_ct83
0
212
Member Avatar for feoperro

Hi, Does anyone know how to control the sequence of JQuery $(document).ready functions? For example: [CODE] $(document).ready(function() { ... }); [/CODE] Only if this returns true then do: [CODE] $(document).ready(function() { ... }); [/CODE] Thanks

Member Avatar for feoperro
0
264
Member Avatar for Anthony-uk

Hi all, today i thought id write a function to see if a string is a palindrome "a word which is spelt the same when read backwards" and thought id post it on here, to see what other/better ways you guys had of doing it or even though i think …

Member Avatar for Anthony-uk
0
71
Member Avatar for dschuett

Hi everyone. I am still very much in the learning phase of JQuery and AJAX, so your help is VERY much appreciated! I have created a webpage that has two tables of invoice records, which are printed to the screen using a php while loop. The first table is a …

0
100
Member Avatar for noamwegner

Does anyone know if i can write a generic javascript function that check the file extension of the uploaded files and if the extension is incorrect erases the value because the user upload's more then one file i want to get the ID from the form something like: [CODE]fileselectedchange(obj) { …

Member Avatar for Luckychap
0
4K
Member Avatar for techie929

Hi, I have written a small piece of code to display a text box and submit button next to it. The submit button is displayed properly in all browsers except in safari the position of the search box is shifted to left. Is there any way I can fix it? …

Member Avatar for Luckychap
0
101
Member Avatar for masocha

l am making an jax call and the data is coming back fine inserted into the specific div correctly. However my css is broken after the AJAX call. the h1 are too big some menu items disppear. See code below jQuery('#section').change(function() { jQuery('#loading') .bind('ajaxStart', function() { jQuery(this).show(); }) .bind('ajaxComplete', function() …

Member Avatar for Amr87
0
985
Member Avatar for rdhiravani

Hi, I have 3 divs of same height (10% of parent element) placed horizontally and all of them looks of same height and at same offset from parent element but when I placed a table within 1st div, the other two divs moves little bit downward. I am not able …

Member Avatar for Airshow
0
96
Member Avatar for Sydney123

Hello there I have a script for creating 3 dependant drop down menu Selection A in 1st drop Down returns Selection B in 2nd drop Down which returns Selection C in 3rd and final drop down To C I would like to attach a string of 3 value ( prices …

Member Avatar for Sydney123
0
104
Member Avatar for iammirko

My code goes something like this: [code] <div class="pBody"> <audio id="player" name="player" class="player" src="" controls="controls"></audio> </div> $(document).ready(function(){ $('.fileTr').click(function() { var id=this.id; $('#player').attr("src","../mmc/FileSet/" + id); var sr = $('#player').attr("src"); alert(sr); $("#player")[0].play(); }); }); [/CODE] fileTr is a class of table columns each having the file name as its id. What I …

Member Avatar for Luckychap
0
69
Member Avatar for jdestruel

This is a simple ajax form I have found on the Internet. It works well except for the fact that after submitting the form, the form fields information is not cleared. I am running out of ideas and I'd appreciate some guidance. Thank you. In the code below, the form …

Member Avatar for htmlCoder101
0
3K
Member Avatar for jeffcogswell

When I first started working on this article, I was originally planning on reviewing a different product, a new project from Eclipse called Orion. However, it turns out that project just isn't ready for prime time. It's still in a very early stage, and I don't feel I would do …

Member Avatar for jeffcogswell
0
510
Member Avatar for Buppy

Hello, I have a script that prints out a lot of <tr>'s, each has a different id, let's say it's a number. What i am trying to get is when a user enters numbers in a certain textfield, named #idtext for example, it shows only those <tr>'s whose id numbers …

Member Avatar for Buppy
0
214
Member Avatar for debasishgang7

I am trying to call a function repeatedly after a certain amount of time delay with the help of java script. [CODE]<html> <head> <script type="text/javascript" src="prototype.js"></script> <script> function sendRequest() { Something to do } </script> </head> <body> <script type="text/javascript"> setTimeout ( "sendRequest()", 2000 ); </script> </body> </html>[/CODE] If i use …

Member Avatar for debasishgang7
0
128
Member Avatar for skides

Hello, I am trying to get a form to call a javascript function on submit to send an ajax request. The site sits on one server and the php target file on another. I get a status of 0. From what I read, this is because the php file sits …

Member Avatar for Luckychap
0
130
Member Avatar for slrobinson1983

hello all. i'm currently working on a site thats primarily php and html but id like to display the date and military time w/ seconds in javascript... "Sunday April 3, 2011 17:30:15". if anyone can point me in the right direction i'd appreciate it. thanks in advance.

Member Avatar for McLaren
0
79
Member Avatar for vandris

HI! I'm trying to make a form where a dropdown menu is populated from mysql. My code: [CODE=php]<? $link = mysql_connect('localhost', '****', '****'); if (!$link) { die('Could not connect: ' . mysql_error()); } mysql_select_db('****'); mysql_set_charset("utf8"); $query="SELECT distinct first_name FROM names_table"; $result=mysql_query($query); ?> <select name="first_name" onChange=""> <option>Choose!</option> <? while($row=mysql_fetch_array($result)) { ?> …

0
99
Member Avatar for ixcodxdx

Hey guys, I'm very new to web dev, I'm learning my way around it , I created an Jquery menu bar seeing some tutorial I inserted an photoslider to the page, the javascript of the photoslider is clashing up with the javascript of the Jquery menu bar and the effect …

0
30
Member Avatar for Sydney123

Hi there I have used a script available on the internet for a multiple drop down box ( Country/State/City ). Once the selection is updated I would like 3 different set of result to show in box : Result could be value or text. Using the below script I am …

0
53
Member Avatar for sampa420

Hi developers, I develop a feature to recover the password for the user, but I'm having trouble to retrieving the value of json. The problem is....on success the IF condition always run the else I am pasting my code and if someone can help me. My engine JS [CODE]$("#mailResetUsrPass").click(function () …

0
78
Member Avatar for george61

Just a little problem with functions for previous and next images in a lightbox type of gallery created by me. The src of a given image is taken form href attribute of a link. I need the src of the next or previous image to be loaded dynamically maybe using …

0
93
Member Avatar for Awah Mohamed

hey people. i am asking if it is posible to check for the user status using php. i mean to know if the user if online or offline. i am trying to build a chatting system that alow me to know who is online and who is offline.

Member Avatar for 84hd0ns
0
763
Member Avatar for genzoman

I have an array of links that when clicked will show a corresponding hidden div element. Every link has it's own div. I'm trying to use an image to close each div as well (which isn't working yet). More importantly, when I click on the first and second links, two …

Member Avatar for Airshow
0
194
Member Avatar for Soben

[CODE] <html> <body> <div style="width:500; height:200; border:1px solid black;"> adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br> adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br> adsf<br>adsf<br>adsf<br>adsf<br> </div> </body> </html> [/CODE] ello I'd like to have a div with minimum height of 200px. but if we add more data in to the div the height should be increased not totally fixed you know? what can …

Member Avatar for Soben
0
76
Member Avatar for edith135

hi gays, I ask you some details about javascript what is javascript and tell me where he use.

0
79
Member Avatar for sunny124

Hi guys, I am trying to display validation error messages when form validation fails. Currently it does display the error messages but then disappears straight away. How can I stop the page from refreshing when validation fails? I have return false in my code when validation fails but still having …

Member Avatar for sunny124
0
249

The End.