15,697 Topics
![]() | |
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 … | |
I have a page at the following url: [url]http://streetkids.zuka.net/sandbox/map-new.html[/url] Pick a continent, select a country ( orange if in Asia, green if in Africa) click on one of the bullets and some info pops up. Works fine in FF and Safari but in IE, it works (almost) once, but then … | |
![]() | Here is the script I'm using: [CODE] $(function () { $('#nav a[title=toggle]').click(function() { $('#user').slideToggle(); }); }); [/CODE] [B]However[/B], when I click the Toggle link located on the nav bar, it slides the #user up, and immediately slides #user back down. Here's the CSS for #user: [CODE] #user { z-index:1; position:fixed; … ![]() |
I am trying to make a Measurements Units Conversion Calculater on Dreamweaver with help of Javascript. THis is my first ever javascript application and need to complete it in next 6 hours. :(( I want to have a drop box containing Length, Area, Temp etc. on top. When a user … | |
I am hosting an even next Saturday that i wish to be able to broadcast a webcast for. I own a domain through [url]www.globat.com[/url] (GX01 Plan) and i was wondering if i could publish a live video stream to this. I have no idea where to start and any and … | |
Guys, I'm having a little bit of a problem trying to display something when the URL is a specific one. Basically purely for examples sake, if the URL is [url]http://www.mydomain.com/hello.html[/url] I want it to display "Hello", and when it isn't I want it to redirect to another page. I know … | |
hello Friends i m having problem My Query that on a classic ASP page i have a form. In that form one drop down list is there. If i select any value from this list menu Then this selected value should check with database and pass value to the textbox … | |
Hi, Im trying to run a MYSQL query to check if the input value exists first. A user fills in an input field and clicks "Add Tag" The java script on the same page checks the MYSQL table if that tag is already there and if so returns a faded … | |
Hi, i have two scripts, One holds the form and the other the php Query process. Im using a small piece of javascript to POST the value to my php Query process script but im finding it difficult to display a result by fading in a div based on the … | |
How can I find/program a list of: We only operate with natural numbers. 1. The prime numbers < 10 000 2. x = a^2 + b^2 < 10 000 3. x = a^3 + b^3 < 10 000 4. x = a^2 + b^2 + c^2 < 10 000 5. … | |
![]() | Hey. I have developed a jquery snippet, that creates a cookie if a window is opened. If only one is opened, and the user is attempting to close it, a confirm will show up to the user to log out first. I would like to create an if, that will … |
Who shall and in which language convert this VBA UDF Code to be applicable for the application forms? [CODE=text]Function Tryme(mycell) mylen = Len(mycell) For j = 1 To mylen mytest = UCase(Mid(mycell, j, 1)) If InStr(1, "AIJQY", mytest) > 0 Then mysum = mysum + 1 ElseIf InStr(1, "BKR", mytest) … |
The End.