17,115 Topics

Member Avatar for
Member Avatar for abhi10kumar

I have a WYSIWYG text area and I want to insert combo-box' value at current cursor location of the WYSIWYG text area. I have a simple textarea where the value is inserting on combo-box clicking. But when I do integrate both files, the functionality wont work. I have both scripting …

0
59
Member Avatar for CathInfo

I can't seem to capture keystrokes (via onkeydown) in Firefox. Now before you judge too quickly, here is a snippet that DOES work in Firefox -- but only by itself; not when pasted into my program: ------------------------------------------------------------------------ [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <script language=javascript> <!-- function vProcessKeyboard(e) …

Member Avatar for CathInfo
0
137
Member Avatar for anoopkh

Hi Sorry for my bad english. I am using a <tbody> section and I had set height of Tbody .But When the number of rows are small the height of the row will increase. I have tried to use max-height instead of height. But it doesn't works. I am using …

Member Avatar for anoopkh
0
104
Member Avatar for bkimbriel

Hey, I have basically zero knowledge of javascript, ajax, etc so any help is much appreciated. Basically I'm making a site that has an html option drop down list. I was wondering if there was a script out there / if one of you could write the script for me …

Member Avatar for bkimbriel
0
115
Member Avatar for trevoray

I am trying to use a VB.NET AJAX Timer control within a Repeater. I cannot figure out how to get this to work. The timer needs to constantly check the server to see what time it is and then display a live countdown clock based on a given time. I …

Member Avatar for trevoray
0
522
Member Avatar for dafpower

Now before anyone says oh use JavaScript that is exactly what I'm using - what my problem is, is that from my understanding javascript is volatile just like RAM is there a way that this can be over come? What i'm trying to do is to have a JS loop …

0
46
Member Avatar for programmer12

Hi, I keep getting this error message. Warning: Cannot modify header information - headers already sent by (output started at /home1/lgmsevze/public_html/passion4anime/test/header.php:18) in /home1/lgmsevze/public_html/passion4anime/test/login2.php on line 31 Can sumone help me or explain to me on how to fix this issue.. I will post my codes here... Header: [CODE]<?php session_start(); if(isset($_SESSION['SESS_CHANGEID']) …

Member Avatar for smantscheff
0
346
Member Avatar for Acute

Hi, [B]I need to remember the time when user closes the window[/B] and later when he/she comes back, site will highlight latest news that happened when user was offline. So far the best solution I have found is jquery.unload (since I use jquery): it sends some data to php script …

Member Avatar for Acute
0
70
Member Avatar for Drako12

im having a problem with the charset, when i set the page to UTF-8 the table head and foot accent marks become strange chars but if i set to ISO-8859-1 the text inside the table and on other field become this strange chars.. screenshots UTF-8 [url]http://img262.imageshack.us/img262/9178/utf8.jpg[/url] ISO-8859-1 [url]http://img705.imageshack.us/img705/4682/iso88591.jpg[/url] anyone knows …

Member Avatar for Airshow
0
140
Member Avatar for dhairyaguptha

To an Iframe, I have called a html page with form and have some Javascript functions inside the that page (child page). But no single function work within that page. The child pages javascript work when it called alone with direct URL. How i overcome this? Thank you!

0
103
Member Avatar for shubhadip

which is the procedure to call code behind file from asp.net to javascript

0
58
Member Avatar for Ritesh_4

Hello Is it possible to use an <a href> tag without adding any text link to it, usually we write <a href="....">Link to text</a>, but I want to omit the Link to text part, which however is completely removing my a tag. Any solution to this? I need the <a> …

Member Avatar for Ritesh_4
0
134
Member Avatar for new_developer

hi, I want that when i click on thumbnail, large image of that thumbnail opens in another page. Please tell me how we can do this, through javascript.

Member Avatar for sudeepjd
0
80
Member Avatar for sweet_85dreams

<html> <head> <script type="text/javascript"> function loadXMLDoc() { var xmlhttp; var txt,x,xx,i; if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { txt="<table border='1'><tr><th>Title</th><th>Artist</th><th>COUNTRY</th><th>COMPANY</th><th>PRICE</th><th>YEAR</th></tr>"; x=xmlhttp.responseXML.documentElement.getElementsByTagName("CD"); for (i=0;i<x.length;i++) { txt=txt + "<tr>"; xx=x[i].getElementsByTagName("TITLE"); { try { txt=txt + "<td>" + xx[0].firstChild.nodeValue + "</td>"; } …

Member Avatar for sweet_85dreams
0
114
Member Avatar for mamatachaudhari

Hi, I have added a keypress event as [CODE] jQuery('#body').keypress(function(){currentTime= new Date().getTime(); });[/CODE] but when I open a pop up window which have a iframe contains a rich text area not capturing this event. Any ways to handle parent event in child element? Any suggestion?

0
93
Member Avatar for new_developer

Hi everyone, My javascript code is absolutely ok but its not working. I know it sounds funny but its happening with me. Please view below code and tell me is there any mistake in it. Javascript code: Which change image when i click on button. [code] var myImages = new …

Member Avatar for Javvy
0
267
Member Avatar for andrewliu

Hello, I'm having trouble figuring this one out. I'm trying to output more field boxes when a certain value is selected from a populated drop down menu. [CODE] <select name="selected_category" id="selected_category"> <option value='0'>Select Category</option> <option value='1' id='text' >Text</option> <option value='2' id='text2' >text2</option> <option value='new_category' id='new_category' >Add New</option> </select> <div class="works" …

Member Avatar for andrewliu
0
164
Member Avatar for methuselah90

[IMG]http://i.imgur.com/hSalo.png[/IMG] hi everyone! i'm trying to create an dynamic jquery tabbed interface and need some help. so far i've managed to draft a rough idea of how i wish the interface to look like and would currently appreciate suggestions on how to get production under way. 1) this is default …

0
71
Member Avatar for andrewliu

Hello, I'm still learning jquery and I was wondering how to work with dynamic links So say I have a while loop, and inside theres a link something like this: [CODE]while($row = mysql_fetch_array($sql_query) $test = $row['id']; { echo "<a href='".$test.php."'>".$test."</a>"; }[/CODE] I want to be able to click on the …

Member Avatar for Agarsia
0
122
Member Avatar for sowheredoigo
Member Avatar for nats01282

Hello i am after creating a javascript alert box with a text input and a submit button that when the submit button is pressed the text field will save its self into a php variable that will then be inserted into the a database. here is the code i have …

Member Avatar for diafol
0
168
Member Avatar for blackxswil

How should I call jquery from my php page? This is my php page: [CODE] <form action="#" method="post"> <input type="file" name="fileInput" id="fileInput" /> <input type="submit" value="submit" disabled /> </form> <div id="result"></div> [/CODE] And this is the js file: [CODE] $(document).ready( function(){ $('input:file').change( function(){ if ($(this).val()) { $('input:submit').attr('disabled',false); } } ); …

Member Avatar for blackxswil
0
94
Member Avatar for f_atencia

Hi all, I have a task that needs to be written in Javascript. I need to change a date e.g. '07/05/2010' to a format of '07 May 2010'. How can I do this? Help is greatly appreciated. Thanks again

Member Avatar for Javvy
0
71
Member Avatar for slrobinson1983

hello all. i wasnt sure if this should go in the php or javascript forum but here we go. i have a php table pulling info from a mysql table. each row contains the name of a user. the users names are links which should take you to a bio …

Member Avatar for slrobinson1983
0
159
Member Avatar for jeffcogswell

[ATTACH=RIGHT]19350[/ATTACH]In the past, the word "JavaScript" usually triggered notions of buttons changing when you float your mouse over them, and images flashing, and silly animations happening in the web browser. Today, however, most programmers recognize that JavaScript is actually much more than that; it's a powerful language that runs in …

6
434
Member Avatar for jrotunda85

We currently have a system that display multiple sections on one page when it loads. What we were looking at doing is breaking each section into an expandable/collapsable group that is controlled by the end user with all groups collapsed on load by default. In saying that, is there a …

Member Avatar for ArtistScope
0
144
Member Avatar for phouse512

Hello all, I'm having a problem with having code execute when I'm adding javascript/ajax to my php. When I do the following piece of code, nothing happens. This is just a test line of code, my real code links to more javascript which uses ajax, but I have to figure …

Member Avatar for phouse512
0
211
Member Avatar for eric8990

Hi all, I'm having some problems with a piece of ajax code. I have a page with a couple of forms, all with the same name. On submit, I want to use Ajax to send the form. For now, I only want to output the content of a simple txt …

Member Avatar for Airshow
0
161
Member Avatar for Fortinbra

I have an existing application that sends a word document to the browser via a UNC file path and uses JavaScript to simply open a new browser window using said path. This doesn't work in Word 2010, because of a change in the method used by Word to open the …

0
80
Member Avatar for tjmoosh

Hi there. I'm looking for some help with drop-down lists. The lists below are populated by lists.js (a script that was kindly written by a friend). What I need to happen is that as soon as an option within one of the lists is selected, the other four become disabled. …

Member Avatar for tjmoosh
0
237
Member Avatar for samsons17

Hi all.. basically i want an ajax code that retrieve the data from the unique div(with php).. what i mean by unique here is that my div got the id with the name+(the php code to make it unique). okay i dont really know how to explain but here is …

Member Avatar for Airshow
0
180
Member Avatar for sasuke2910

I've created a little dropdown menu with javascript. And I want this on each page of my website. I thought about adding it via iframe but it extends downwards and put a scroll bar in the iframe. I don't want to copy/paste the dropdown menu to each page because I'll …

Member Avatar for Agarsia
0
192
Member Avatar for nikita.chandra

Hi all I am creating an application for registration form where if user select a city from the drop down list box in the state list box corresponding state should be selected automatically. Please help me ..., its very urgent thanks

Member Avatar for arunp_eagle
0
336
Member Avatar for mrcpp

Hi, a few time ago I posted a thread about a page in ajax/js/html that didn't work correctly. At first, I thought it was solved, but now I see it is not. I am trying to make a gallery using jCarousel, and it used to be very buggy until it …

Member Avatar for mrcpp
0
123
Member Avatar for sun-tzu

Ok, so I am building a website, and am trying to use jquery to get video thumbnails from YouTube and pass them into the corresponding images. I am still fairly new at jQuery and could use some help with the code. Here it is: [CODE] $(function() { $(document).ready(function() { var …

Member Avatar for vsmash
0
141
Member Avatar for fawadkhalil

Hi people I am calling JavaScript function on partial post-back. Its working fine when i run my site locally but it did not work after i implement it on live program. I used following line of code to call function: ScriptManager.RegisterStartupScript(Me, GetType(Uri), "", "privateseller();", True) Here is JavaScript function where …

0
55
Member Avatar for puvi

Hi frens I have a row containing 3 text field and a dropdown. the user enters details into the textbox and chooses a option from the dropdown. User may choose to save the details or add more details by clicking on Save or Add Row button resp. If the user …

Member Avatar for six_sic6
0
5K
Member Avatar for sunita2006

Hello Team, I want to load a dll functions into script javascript for digital signature verification. I have tried this using CAPICOM dll and it woks well. I have a custom DLL which has got the functions which can be used for digital signature creation/verification. To Load the functions from …

Member Avatar for arunp_eagle
0
525
Member Avatar for slrobinson1983

hello all. i've bee learning php for the last couple of weeks while designing a site but i am now frequently running into situations where i need to use javascript. i have a page where i want a user to browse for a pic with a file field and i …

Member Avatar for slrobinson1983
0
295
Member Avatar for john0563

Hello, I was hoping for some help in the right direction. I am creating a PHP/MySQL script and I was wondering what is the best way of being able to use it as a standalone application on a local computer. It's a little complicated, but let's say it's an online …

Member Avatar for vsmash
0
600
Member Avatar for devinodaniel

Hey friends, I have a drop down box. onChange of that drop down box the option selected is $_POSTed to a php page where I'm grabbing that name and using it in a form on the new page. Instead of it opening a new window for the php page, I'd …

Member Avatar for Agarsia
0
165
Member Avatar for shadyabhi

We have to login to a http page so that I can surf the net. But, that login page also requires me to keep that page open which is very irritating. The page have javascript that checks if the page is loaded every 180 seconds, it its not loaded, I …

Member Avatar for Agarsia
0
312
Member Avatar for barizon

Hello everybody! I need to get the values of two hidden fields and values that make a query in my database and return this column to a text field in the same form, I have already informed the forum here that can do that with Ajax, researched and made an …

Member Avatar for UzuNarU
0
96
Member Avatar for rajeesh_rsn

Hi friends please refer me a tutorial for Dynamically loading Drop down list ( List/Menu ) Using Ajax Thanks in advance Rajeesh

Member Avatar for sudeepjd
0
85
Member Avatar for deepakkrish

Hi Friends, Any one used OTRS software.I am trying to update the requirements.I am unabl eto connect wit the database. The thing is if i logged in with user name n pass .the user name and the sys time should it the database. i tried some facts but dont know …

Member Avatar for deepakkrish
0
101
Member Avatar for raq_0619

How could I include the image in the print preview? I cant make it work :sad: anyone? please help. [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="generator" content= "HTML Tidy for Windows (vers 25 March 2009), see www.w3.org"> <script type="text/javascript"> // _importNode() needed for IE if (!document.importNode) …

Member Avatar for vsmash
0
162
Member Avatar for chris.aaker

I need to take data in from a form, using a javascript call. From there I need to send the data to a php script that puts it in a database. I have an AJAX call that does this...but I know that the AJAX call also waits for a response …

Member Avatar for chris.aaker
0
243
Member Avatar for james6754

Hi everyone...not usually in this part of DaniWeb... My friend is having massive problems with his internet explorer.. it keeps giving errors about .js (javascript?) Along with this you try to go on a site and it attemps to download a .cr file. Sometimes it loads just plain text, sometimes …

Member Avatar for vsmash
0
91
Member Avatar for jbennet

How to do a HTTP PUT/DELETE? (Using jquery) . Im making a REST-ful twitter-type aplication using Java Servlets etc... and i have the methods for handling PUT and DELETE, i just need to be able to perform these e.g. when a user submits a form (with the id of the …

Member Avatar for jimforsyth
0
347
Member Avatar for burningcandle10

this is a php code when i check this code on "online php checker" it gives an error "Parse error: syntax error, unexpected T_STRING" on line 1708 how to solve this please give some advice [CODE]<?php class PopUp_Domination { var $base_name = ''; var $theme_path = ''; var $theme_url = …

Member Avatar for burningcandle10
0
2K

The End.