15,120 Topics

Member Avatar for
Member Avatar for vishalkhialani

Hi, Below is a working code. [CODE] 1. if($('input[name="test"]').is(":checked")) 2. { 3. // my other code 4. } [/CODE] I want to remove "test" and put a variable there instead I tried this way but it does not seem to work. I am not sure where I am going wrong. …

Member Avatar for hielo
0
91
Member Avatar for ibeginphp

Hi Guys, I am trying to call the Javascript function declared at the top in my php area. However its not working. Can anyone tell me the reason for it. Everything else is working except for this part. Please help me. [code] <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> …

Member Avatar for nonshatter
0
375
Member Avatar for Akill10

Hey, I have a problem and am hoping that you can help me find a solution. I have a site created in dreamweaver. To do this, I made a template, with 2 editable regions, then set up all my pages. The problem I am having, is that I am trying …

Member Avatar for Akill10
0
90
Member Avatar for ligas84

image of my listview: [url]http://img26.imageshack.us/img26/4043/listview.png[/url] I want to total every row from my listview tallies total infected people and percentage ____________________________________________________________________ CityID | City | Population | Male | Female | Total | Percentage | Population, male, and female columns are user inputs total column is male+female textbox value per …

Member Avatar for crishjeny
0
662
Member Avatar for vuyiswamb

Good Day All I have 20 Textboxes and when there are duplicates in those textboxes , i store them in a List<string> and on fly i build a CheckBoxList and display that as a modal and in that i have a close button to allow the user to correct the …

0
64
Member Avatar for MareoRaft

Hi! I am looking for a solution to use the onKeyPress() event in Safari or Chrome. It seems very tricky, because each browser behaves differently. This is what I have so far... [CODE]... <script type = 'text/javascript'> function turn(e){ alert('turn!'); } </script> <body onKeyPress='turn(event)'> </body> ...[/CODE] I also want to …

0
57
Member Avatar for Griffin54

I am currently working on a web site for my children's book series. On my web site I want to create a shopping page where my customers can purchase my books online. What I need to develop is a shopping cart page with the option to pay by PayPal (not …

0
51
Member Avatar for feoperro

Hi, I'm having a problem where I set a session after checking login details, and then change the section respectively via ajax. The problem that I've noticed is that the session is only set once the page is refreshed - I was wondering if it would be possible to set …

Member Avatar for diafol
0
192
Member Avatar for ctaylo21

Hi all, I am looking to pass a javascript array that is created by the user (through checking different boxes and populating the array with id numbers) to a php script which this uses the id's in the array to make url calls. I am having difficulty passing the array …

Member Avatar for ctaylo21
0
161
Member Avatar for logicslab

Hi pals, I am in a straight forward doubt. I use jQuery for a long time , but not use jQuery extends method, do any one can explain it's purpose and need . I don't get not much from reading jQuery Manual. So if you have a Good idea reply …

Member Avatar for Airshow
0
77
Member Avatar for sreekiran
Member Avatar for sivasuit

Hi i am new to java script.In my project i submit the html form for insert some records.i validate form with java script.whenever i click the save button the browser ask to resend or retry.but the records were inserted .i need the page want to refresh automatically without asking resend,retry …

Member Avatar for macgurl70
0
82
Member Avatar for vishalkhialani

Hi, I want to insert a array variable in a another variable. I know how to get it done in php but not in JavaScript. Please advice how should I code the syntax for variable statement ? [CODE] var name[0][0]="tom"; name[0][1]=12; statement="My name is".name[0][0]."and my age is".name[0][1]"; [/CODE] I searched …

Member Avatar for macgurl70
0
207
Member Avatar for Ritesh_4

Hello Is it possible to download a javascript slideshow which is present on a webpage? In firefox I have addons to download flash swfs but could not find anything concerning javascript. I need this as I need to develop a slideshow in javascript very quickly for a client (our js …

Member Avatar for Ritesh_4
0
132
Member Avatar for silkyheart

i need to make this work like it is supposed to pop out a message box containing the answer when i click a cell... oh and i need to have a super randomized background that relies on Math.ceil(Math.random())... *how the hell would i know how to do this? i'm just …

Member Avatar for macgurl70
0
424
Member Avatar for mbarandao

Good day all: I'm wondering if the cancellation of one of my onclick js function in the below code is as a result of having multiple onclick function. here is the code: [CODE] <FORM NAME="SubCategory" method=post action='accountingsearch2.php' target='_top'> <p align="left"> <div id="presetlabel">Or use Preset Periods-->></div> <div id="SubCategory"> <SELECT NAME="specifiedperiod" style="display:inline";> …

Member Avatar for mbarandao
0
735
Member Avatar for needhelp83

I am trying to create a web-based Twitter app that will print out a friend's timeline, but the Twitter API asks for username/password. How do I do the username/password authentication on the server-side without asking this from the user. Does anyone know how to do this? Is there also a …

Member Avatar for otbaldi.com.ua
0
93
Member Avatar for logicslab

Hi Friends, I am come with a new query in jQuery. I have a listing form in which the details showed , the View more Details is implemented using Ajax. When Click "+" sign there is a loading image show First then the Result show there ... It's all working …

Member Avatar for @developer
0
170
Member Avatar for samsons17

Hi all.. I want to disable 'centre click' of mouse for my website..How could i do this?? Thank You :)

Member Avatar for Borzoi
0
105
Member Avatar for Moirae

Hello, I'm creating a web page for my friend which is a photographer and we would like something really cool like this [url]http://www.flashperfection.com/tutorials/Colorful-Mouse-Followers-with-ActionScript-3-79460.html[/url] Can I do something like this in js?? Any advices?? We would like to avoid flash if possible Cheers ;)

Member Avatar for almostbob
0
94
Member Avatar for methuselah90

after finding out that i couldn't use form submit (which refreshes the page) alongside bockui i have decided to move onto ajax. i am not too good at ajax but i get the gist of it. but now block ui does not wish to work at all. here is the …

Member Avatar for Airshow
0
331
Member Avatar for Pinchanzee

I'm having trouble redirecting a form via JS. This code (accidentally) works fine as long as there is only one variable: [CODE]<SCRIPT language="JavaScript"> <!-- function Page(thisform) { with (thisform){ var page = thisform.p.value; } } //--> </SCRIPT>[/CODE] [CODE]<form class="box" action="/user/fave.php" onsubmit="return Page(this);">[/CODE] Which just adds the variable to the URL …

Member Avatar for @developer
0
753
Member Avatar for george61

Ok I created some flash rotator-onclick event to change swf files. But this won't work in IE because the javascript isn't able to create a closing embed tag. Here is the script: [CODE]<script type="text/javascript"> var flashNumber = 0; var items = 3; var i = 0; films = new Array(items) …

Member Avatar for Airshow
0
167
Member Avatar for erum

i have code [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $('#<%= btnTest.ClientID %>').click(function () { var checkedControls = $('#<%= CheckBoxList1.ClientID %>').find('input:checkbox:checked'); if (checkedControls.length > 0) { alert('Valid'); } else { alert('Please select atleast one checkbox'); } return false; }); }); </script> </head> <body> …

Member Avatar for erum
0
176
Member Avatar for ChrisATO

Hello, thanks for reading my thread. I'm still new to web development so I appreciate your help in advance. I am having a problem that I am sure many people have run across in the past. In my project, I have sidebar menus loaded based upon the user permission level …

Member Avatar for ChrisATO
0
2K
Member Avatar for JustAnotherJoe

Has anyone written code that allows Javascript to communicate with mod_wsgi using Ajax? I'm looking for a very simple example that I can build off of (e.g. uppercase a string and return it). The examples that I've seen use PHP/ASP. When I substitute wsgi for 'php' or 'asp', the program …

Member Avatar for JustAnotherJoe
0
479
Member Avatar for arctushar

Hello I want to change date format to insert date in mysql. I tried as below code [CODE]<script type="text/javascript"> $(function() { $("#datepicker").formatDate('yyyy-mm-dd'); $("#datepicker").datepicker(); }); </script> [/CODE] but its not working form me. can anybody suggests me how to do it?

Member Avatar for faulkj
0
224
Member Avatar for loke

Following is my url. [url]http://www.teamsingapore.com.sg/content/major_games/commonwealth_games/19th_commonwealthgames2010delhi/photo_gallery/commonwealth_gameswelcomeceremony.html[/url] Click on the first image and you will be navigated through the Photo Gallery using the <Next> button The images sometimes are not loading in LightBox after a while when using firefox. Pls advise Has it got to do with the LightBox Ajax ?

Member Avatar for loke
0
31
Member Avatar for loke

Following is my url [url]http://www.teamsingapore.com.sg/content/major_games/asian/16th_asian_gamesguangzhou2010/photo_gallery/cheer_on_team_singaporeasiangamesbannercontest.html[/url] Click on the first image. then navigate through the ligthbox using 'Next' button. Sometimes the images appears distorted. Is is due to the Lightbox ajax rendering of the images?

Member Avatar for loke
0
38
Member Avatar for fusarium

I'm trying to take normal, plain Jane drop-down boxes to choose a time, and replace them with a nicer DHTML version. I followed this tutorial [URL="http://www.javascriptkit.com/script/script2/dhtmlcombo.shtml"]http://www.javascriptkit.com/script/script2/dhtmlcombo.shtml[/URL] but now my buttons are stacked on each other, the selected="selected" variable isn't pre-selecting anything, and if you click on a number (5), it …

Member Avatar for Airshow
0
78

The End.