17,114 Topics

Member Avatar for
Member Avatar for chineerat

Hi! I am trying to manipulate the value of an input box based on whether a checkbox is checked or not. example checked input = 1600 and enabled unchecked input = 0 and disabled I am having 2 problems: 1) When the page is loaded I get unchecked and input …

Member Avatar for Taywin
0
111
Member Avatar for minimogul

I am currently developing a website. The website is centered on the users posting info and then it is stored in a database and results of the database are then put in list form. I know it sounds like every other so called "dynamic" site. I have spent lots of …

0
117
Member Avatar for seekinghelp

Greetings everyone, I am new to this site and I am just a end user so I do not have the expertise that you all have. I have read the threads in which relate to my error message but this is the senario: When I am on Joyce Meyers website …

Member Avatar for Airshow
0
107
Member Avatar for sirishagundala

hi friends i am using radscheduler and i am fixing appointments too but i want to change the color of the appointment depending on the type of appointment i have created how to change the colors by selecting the type of appointment please give me clear code

0
43
Member Avatar for akvlko

Hi There! I have a Ajax Function copied from W3Shools I have modified them as my Requirement but it won able to send the xmlHTTP request to my PHP page for result here the function [CODE] function showUser(str,txtId,mth,url) { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } …

Member Avatar for mahavir123
0
114
Member Avatar for dennishall

Good Day: I'm working with an image changing javascript that allows you to click on an image to open a URL. The problem I'm having is that when I click on the image, it opens the said URL in a new window. I want it to open in the parent …

Member Avatar for dennishall
0
202
Member Avatar for Matthew N.

Hello, I am somewhat new to JavaScript, 2 weeks ago I started. I have learnt the basics such as [CODE]alert('example') [/CODE]and[CODE] confirm('example')[/CODE]also,[CODE] prompt('example','')[/CODE] But, in the end, playing around with [CODE] <HEAD> <SCRIPT TYPE="TEXT/JAVASCRIPT"> alert('HELLO') </SCRIPT> </HEAD> [/CODE] Gets boring, along with the others, even asking you to type your …

Member Avatar for Taywin
0
115
Member Avatar for dschuett

Hi, I have made a log in script that checks the database for username and password. I have everything working for the users (they must be logged in to access member.php). Now I have admin.php redirecting to a different page, but how do i keep users OUT of that page? …

Member Avatar for richieking
0
7K
Member Avatar for macguyver

Hi I posted previously regarding the use of scripaculous. I managed to resolve the problem I was having but have found a new one when producing droppables within table cells. I create a table in using dom elements in javascript and append it to the document body in a div …

0
74
Member Avatar for iijb

Hi all, How to preview an image when uploading it without page refreshing. I got some scripting but it will not work on all browsers. I had used a script in which getAsDataURL() method is used. Which works in IE6 and Firefox 3. I tested it with IE8 but is …

Member Avatar for Airshow
0
70
Member Avatar for GigsD4X

Hi there, I'm making a script that gets a form's elements, and writes them to an XMLHttpRequest. It works perfectly with inputs, but when it switches to text areas, it returns "undefined" :\ Could you help me find the error? :D [CODE=js]function sendForm(target, form) { var item; var string=""; var …

Member Avatar for Taywin
0
147
Member Avatar for ClaireShutt

Hi there I am new here and wanted to ask question I have this simple code to put elements into an array [CODE]<html> <body> <script type="text/javascript"> var numb =2; var tempstr="-26.18101|-26.161011|"; var latstr=new Array(tempstr.split("|")); document.write((latstr[0]) + "<br />"); document.write((latstr[1]) + "<br />"); document.write((latstr[2]) + "<br />"); </script> </body> </html> [/CODE] …

Member Avatar for Taywin
0
103
Member Avatar for star_lavender

hi..let's say I have 3 textfields, texfield A must be filled first, then textfield B and textfield C can be filled either one. If textfield B is filled, then for example (textfield A * textfield B), the answer will be shown at textfield C or vice versa. Below is part …

Member Avatar for Taywin
-1
79
Member Avatar for Ankur_tces

Hi all, I am trying to use Ajax and Jquery on master page. In my existing project i have used the Ajaxpro2.dll it's working fine. but when i am trying to use jquery then its not working. Then in jquery script instead of `$` i have used 'jquery' keyword then …

Member Avatar for Ankur_tces
0
168
Member Avatar for arctushar

Hello I want that in jquery date picker. default value of text box will be current date. How can I do that. I tried php script like this [CODE] <input type="text" id="datepicker" name="rcv_date" value=" <?php echo date(m).'/'.date(d).'/'.date(Y); ?> "> [/CODE] But it has little error. There is an extra space …

Member Avatar for aquilax
0
49
Member Avatar for macguyver

Hi There I am trying to create some javascript to do the following:- Actually its cool, I posted some stuff, but I think I want to work on it some more, so I have deleted the rest of the post. Sorry to trouble anyone.

Member Avatar for Taywin
0
144
Member Avatar for Staggasaurarts

hi, i am trying to switch tabs without page going back to top. i am using this script. [URL="http://www.sohtanaka.com/web-design/examples/tabs/"]http://www.sohtanaka.com/web-design/examples/tabs/[/URL] but i just can't stop it from the page going back to the top when you click a tab. Thanks

Member Avatar for Airshow
0
132
Member Avatar for dschuett

Alright, so I have been working on building a photographer a website. She requested that she would like a page that would allow users to log in and view their proofs and only allow THEM access to their own pictures. I have successfully created a log in page using sessions …

Member Avatar for richieking
0
619
Member Avatar for nathmaniedeo

Hi friends, It’s hard to find a clear answer elsewhere- Is JavaScript needed for the client-side in asp.net websites or will C# work totally fine (even without the .net framework installed on the clients machine) ?? Is it better to still use some JavaScript in there? (I'm a newbie, just …

Member Avatar for nathmaniedeo
0
134
Member Avatar for nikita.chandra

Hi.... i am creating a website and on home page i want to rotate different images randomly,by the code given below i am able to rotate image at one place but i want to rotate image at more than one different places with different images. like this [1] [1] [1] …

Member Avatar for Taywin
0
229
Member Avatar for MDGM

Is there a way to, when the url changes, intercept it and take the user to a different page? For example, if the user types in "facebook:" and then some other random words, like "facebook: eating my dinner" it takes the user to the facebook share page instead of just …

Member Avatar for MDGM
0
100
Member Avatar for julianmoors

Hi, I wish to select an <a>'s alt property and use it to create a message to display help to the user. This is what I've got so far: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="content-language" …

Member Avatar for Airshow
0
115
Member Avatar for Towlie

I have two pages. In one page I am changing the value of a variable called t, in the other I am outputting it. The problem I'm having is in changing its value. Any help will be greatly appreciated. [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" …

Member Avatar for Thirusha
0
167
Member Avatar for rashmijain
Member Avatar for shalenra1987
0
30
Member Avatar for nikc121

I know this is probable a easy one for most of you...But this is my first Javascript. I am trying to write a code that will add two numbers entered by a user and calculate the sum. When I wrote the code inside the HTML it worked fine. But I …

Member Avatar for kracko
0
932
Member Avatar for ivan3510

Hi! Sory for my bad english. I don't know the name of it. Can you write. Thanks. See the picture (attached). Let's say that the name of it is "little window". I want to make on my site that this disappear, and when I something type, I want that this …

Member Avatar for ivan3510
0
97
Member Avatar for sassenach

Hi, I am using jquery to send a form: Copy code [code] jQuery(document).ready(function($) { //References var pages = $('div#paging_menu a'); var loading = $("div#loading"); var content = $("#print_full_list"); //show loading bar function showLoading(){ loading .css({visibility:"visible"}) .css({opacity:"1"}) .css({display:"block"}) ; } //hide loading bar function hideLoading(){ loading.fadeTo(1000, 0); }; //Manage click events …

Member Avatar for Airshow
0
178
Member Avatar for Premsathishbe

i am getting the error as "Can't move focus to the control because it is incisible, not enabled , or a type that does not accept the focus" ,when i am trying open the login page plz help to give suggestions to solve this problem. and my scipt is [CODE]function …

Member Avatar for Taywin
0
102
Member Avatar for kobi

hello, I have this button element which i can recognize only through his xptah FORM[1]/TABLE[1]/TBODY[1]/TR[1]/TD[2]/TABLE[5]/TBODY[1]/TR[1]/TD[1]/A[1]/IMG[1] how can preform a click runing a java script Thanks Kobi

Member Avatar for Taywin
0
144
Member Avatar for bhavesh561988

how to know idle user without refresing page using ajax plz give me solution and i also change the icon when user is idle like a facebook if our friend is online then its icon is green but when he is idle its icon r changed without reloading page ...give …

Member Avatar for Brillig
0
63
Member Avatar for richardmorris

I want to be able to open a window with a variable. For example, I will use domain.com?reference=1234- This link will open a pop up window as follows: [CODE]<a href="javascript:popUp('http://www.domain.co.uk/staff/tpr/update_action_log.php?action_reference=<?php echo $row2['action_reference']; ?>')" title="Click Here edit this entry"><?php echo $row2['action_reference']; ?></a>[/CODE] When I open this window, it is always showing …

Member Avatar for Airshow
0
206
Member Avatar for srdva59

hi, i looking for a grid in jquery or other that we can move the cursor from the selected fields and change that fields directly like we done in excel the changes need to be saved in a database. any one know something like that? thanks a lot for your …

Member Avatar for fobos
-1
64
Member Avatar for AboJaD

Hello, I am trying to get the element of an option, but seems my code is not working: <script type="text/javascript"> /*<![CDATA[*/ function reportsendipp() { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { ; } } xmlhttp.open("GET","report_member.php?report=" + document.getElementById("ipps").value + "&&member=" …

Member Avatar for Airshow
0
375
Member Avatar for subhankar02dey

I have a multiple selectable listbox in which I can select maximum 5 data I have 5 textboxes Now I want to get the selected items texts from the listbox and populate those into the 5 textboxes when the user finishes selectiong from the listbox How can it be possible …

Member Avatar for Protuberance
0
3K
Member Avatar for spivey

I am working on a mobile site for my library and want to include an mobile version of our catalog. But our catalog provider doesn't have a mobile version. I tried PHP scrapes, but the way the catalog handles session info made it impossible to return more than one page …

0
76
Member Avatar for chintan@dani

Hello Experts, I am developing application in which i use ajax.but i need to pass more than one variable to url for further processing. I can't use [CODE] var url="availabilitycheck.php?t="+value //it works var url="availabilitycheck.php?t="+value+"&hid="+hd1+"&chkin="+chkin; //not valid[/CODE] How can i send other variables.?? I tried using session that works but it …

Member Avatar for Taywin
0
215
Member Avatar for hotice47

hi to all i am making a chat app using php/mysql i am faceing a problem here ..i want that user click on button and it give him a random online user from database...but dont know how to do it ..i am trying.. [CODE]{ $i=0; while ($i < $num) { …

Member Avatar for Taywin
0
244
Member Avatar for julianmoors

Hi Guys, I'm in need of a paginator at the bottom of a table which is being returned by Ajax's responseText. I'm having trouble as I can't seem to hook up the JavaScript with the one being produced by Ajax. I know some of you will say I need to …

Member Avatar for Airshow
0
450
Member Avatar for lobas

Your help would be most appreciated. I'm dong this jquery ajax GET right. Although it submits and sends as a $_GET and is processed fine by process.php for some reason it is not reflected in the url. [CODE]jQuery('#results-submit').click(function() { jQuery('#waiting').show(0); jQuery('#container').hide(0); jQuery('div.carpark').remove(); jQuery.ajax({ type : 'GET', url : 'process.php', dataType …

Member Avatar for hielo
0
142
Member Avatar for jeeva86

Hi, I wanted to know how would you be able to change an image on a website to another one when refresh is hit on the tool bar in IE or how would i get it to open up a different html file when i hit refresh and i'm not …

Member Avatar for KazmiLahore
-1
4K
Member Avatar for Venom Rush

Hi all I'm working on a page that has an iframe that loads a page with a file input on it. What I need to do is validate that file input to make sure that it isn't empty. Is this possible?

Member Avatar for Thirusha
0
94
Member Avatar for ned69

I have a Java form where I need to be able to switch a drop down with a text box using Javascript. The change would be made depending on the radio button choice the user makes. The drop down is the default form element and radio button A is checked …

Member Avatar for Thirusha
0
104
Member Avatar for kkjava

Hi All, There is a web application am working on, while monitoring the performance i noticed that there are so many static objects,as a results so many HTTP requests. I would like to know is there any way where i can bundle all the static objects like javascript, css, images …

Member Avatar for Protuberance
0
76
Member Avatar for lse123

[B]<meta name="keywords" content="text" />[/B] text here may be UTF-8? If yes the: [B]<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />[/B]must come first after the keywords meta tag?

0
68
Member Avatar for Ninad

Hi, I have a problem in my code. I am putting a image icon in my coe and want to call the code behind function Left_Click() on its OnClick() event. But the Click event is generating after two times clicking. and I have wriiten in the Page Load event I …

Member Avatar for mohanms
0
327
Member Avatar for marketingmaniac

The unfollow button is written in Java does anyone or can anyone programmaticly click the unfollow button? tried everything i know, visual basic, Java, JavaScript,, you name it,, cant do it.

Member Avatar for peter_budo
0
67
Member Avatar for Ankur_tces

Hi all, 1) I am trying to use Ajax and Jquery on master page. In my existing project i have used the Ajaxpro.dll it's working fine. but when i am trying to use jquery then it throws error "Object doesn't support this property or method." 2)I have taken a fresh …

Member Avatar for Ankur_tces
0
253
Member Avatar for laddu2098

[COLOR="Green"]hello every one hi i am new to daniweb i think i will find a solution in daniweb. hi i wanted to change my php melody1.6.4 url structure my url structure is like this [url]http://example.com/frozen/frozen-2010-movie-video_1c4063b5a.html[/url] i wanted to change it to like this [url]http://example.com/frozen/frozen2010movie/1c4063b5a[/url] i have spent my valuable time …

Member Avatar for laddu2098
0
180
Member Avatar for JayGeePee

[B]I cant seem to get this code to work with my table code below -[/B] [code=javascript] <script src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".stripeMe tr").mouseover(function(){$(this).addClass("over");}).mouseout(function(){$(this).removeClass("over");}); $(".stripeMe tr:even").addClass("alt"); }); </script> [/code] [B]Table Code-[/B] [code=html] <table width="780" cellpadding="0" cellspacing="0" border="0"> <tr style="background-image: url(templates/{TPL_NAME}/images/tr-background.jpg); background-repeat: repeat-x;" align="center" class="table_titles"> <td width="40%" align="left" height="18" style="padding-left:5px;">{TEMP}</td> <td width="6%">{LANG}</td> …

Member Avatar for JayGeePee
0
119
Member Avatar for CharbelKahi1

Hi How to know if there is any version of Java installed on the user PC and what revision, using JavaScript thank you Charbel

Member Avatar for scriptWolf
1
295

The End.