15,120 Topics
| |
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. … | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
| 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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";> … | |
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 … | |
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 … | |
Hi all.. I want to disable 'centre click' of mouse for my website..How could i do this?? Thank You :) | |
| 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 ;) |
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 … | |
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 … | |
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) … | |
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> … | |
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 … | |
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 … | |
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? | |
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 ? | |
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? | |
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 … |
The End.