15,700 Topics
![]() | |
I have used this code for ajax pagiantion JS file - [code=JavaScript]document.getElementById('divname').innerHTML = content; ajax.callPage("URL"+str, ajaxSearchFilter); tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox imgLoader = new Image();// preload image imgLoader.src = tb_pathToImage;[/code] Php file - [code=php]<td colspan="2" align="center"> <?php if($page != 1) { $pageno=$_GET['page']; $pageprev = $pageno-1; if($_GET['city_name'] != "") … | |
Hi, I have a schedule updater that is running perfectly in firefox, but slowly in IE7 (and probably IE6 as well). You can see the script in action at: [url]http://www.jobvid.com/CustomizeNewSchedule.php[/url] Any help would be greatly appreciated! The code is below... Thanks, Dave [code] <script type="text/javascript"> function changecolor(Id,ctrlhide){ var current = … | |
I downloaded a shadow box from the web that uses javascript and based on the size of the div it applies a shadow. This is great however when i apply a slider javascript function to it to make the div bigger the shadow goes nuts and does not like it. … | |
Hello, I am working on a drag and drop interaction for a website using script.aculo.us drag n shop. What I need is for he User to drop chosen products into the cart and submit a message for the site admin to receive the users contact information and desired products. No … | |
Hi All I'm using Dreamweaver's (MX) form validation system for a form and noticed something odd about the last "required" field. The validation system works fine on all other "required" fields, but if there is any copy in the last "required" field, the form is sent to the database and … | |
hello, I have 3 textboxes and user should fill atleast 1 of those. so i have to check that. How to do it using Required field validator/javascript function. [B]Note: I am not using form , the text boxes are in content holder of the page. If i use javascript how … | |
i have a form that on post it runs a php page.But when the result is successful it opens a notification page. The problem is that it opens both the php page and the notification all I would like to do is to show the nofication page. php page runs … | |
i posted this question in other forum but no luck so far, i found a link that has the same goal as i am but dont know how modify this [url]http://www.verysimple.com/blog/wp-content/uploads/2007/01/resize_css.html[/url] my goal would be in reverse when enlarge (window browser dragging) my div will decrease size (width) when enlarge … | |
I've got this javascript toggle array script. It was working and I don't know what point it broke, but I am having trouble getting it working again. The code below is linked in an external .js file: [code=javascript] function toggle(showHideDiv, switchTextDiv) { var ele = document.getElementById("showHideDiv"); var text = document.getElementById("switchTextDiv"); … | |
I'm all hosed up...most of this is pretty new to me, so please forgive my terminology. I'm using scriptaculous for the DnD stuff. Using AJAX I'm returning a variable from the server. The variable can be verified using alert(variable), but when I pass the variable as an argument it isn't … | |
hi buddy, i have a problem in tabbed pane that works by java script.problem is---my tabbed pane has two panes.Every pane contain record list with pagination indexes.By default first pane is up.when i work in first pane,there is no problem.But when i work in 2nd pane and click any link … | |
i am checking the checkbox is checked r not by using following code.... if the condition is true i have to checked another box in runtime using docuemnt.form... or document.getElementById like...document.form.chkbox2=checked like that... [CODE]if(document.form.chkbox1.checked){ // }[/CODE] | |
i need open source for dropdownlist for country,state and city as same as in below link [url]http://www.genuinematrimony.com/register.php[/url] | |
I already have 3 Javascripts working that I trigger within my <td>'s like this: [code]<td onMouseOver="mover(this)" onMouseOut="mout(this)" onClick="mclick('test.html')">Test Button</td>[/code] I have now coded up 1 Javascript function to handle all 3 events (using if statements). But how do I trigger the calling of that function inside my <td>'s? I was … | |
Hi, I have been trying for having pop up menu inside textarea while typing on it. while typing, it takes the text from the textarea and should display 4-5 options in textarea at the point of typing and if we select any option , it replaces the word being typed … | |
Hi All, Please help me in this. I'm a new member. I have a page with grid view appearance, data is coming in from table. For each column of the grid I have a button to sort data in asc/desc order of that particular column. I did this: <recordset_name>.Sort="<column_name> DESC" … | |
i am doing an assignment in programming javascript...and i'm stuck in a problem. It asks to automize a system over the internet to rent a car. the company has overall 8 cars from which 4-are air conditioned and 4- are not. the program should ask the user to press 1 … | |
hello every one sorry if my activity not very well at last few days :icon_rolleyes: I need function 2 remove spaces if more than one and to merge lines into one line like this [COLOR="Green"]we still here where are you [/COLOR] into [COLOR="Red"]we still here where are you[/COLOR] | |
i'm trying to detect the host so that the print function if detected WSH print should call WScript.Echo(obj) if detected Rhino print should call java.lang.System.out.println(obj.toString()) if detected Browser create a console for output using Javascript/DOM and print should call like console.print(obj.toString()) or console.innerHTML = obj.toString()... is there anyone who can … | |
Has anyone ever done what is called eproject in school before ?,can someone xplain and clue about eproject pls thanxz. | |
Hello guys. I have a callable statement which runs and gets a value from the database. I have registeroutparameter which turns an integer value. I got to alert that value on screen. In java code everything works fine and i can print it on screen. But i can not turn … | |
i want to know all the javascript function in c# .net ..can anyone send me the link or material plz | |
I am building a website for users that exist around the world and need to show the user's "local machine" time and timezone, not the time of the website host server. Is there a javascript function or process to determine this? | |
I am pretty new with javascript, and I am making a page that has divs that change an image when rolled over. It works in Live View in Dreamweaver, and in Safari (couldn't test in IE because I'm on a Mac), but not in Firefox. Here's what I got in … | |
Hello people i have a textbox and i have its size 20 and its maxlength = 11. it does show it in the textbox while writing, but it lets me insert 15 digit number to my database. i type 12345123451 (it shows in my textbox) then i type 9999(it doesn't … | |
![]() | Hi. I am serving the contents of the page based on the navigation anchor links. e.g. [url]http://somesite.com/index.html#home[/url] will serve the home page contents. [url]http://somesite.com/index.html#about[/url] will serve the about page contents. The contents are stored in contents.php page and are written in the below tag inside index.html [code=html] <div id=contents> <!-- … |
Which is the best popup image viewer (Facebox, Fancybox...)? I need a good looking, powerful one. Thanks in advance!!! | |
Hello Frndz i m in complete mess... i have to a table with Add/Remove rows features... it should look like this - [code]textbox1 | textbox2 | Add Button[/code] after clicking the add button Row will append and Disable the textbox with values...!!! It looks like this after clickin Add Button.. … | |
hi guys, i have a php page with java script embed in it , i have 3 forms in a [B]single page [/B]... namely form1, form2, form3 . form 1 and form2 have a text box , these text boxes get input from users. Now my task is to get … | |
I have problem with the responseText property in Safari, Google Chrome and IE. Line 68 - the responseText is empty. This works fine in Firefox and Opera. Also i have this problem with the responseText only in the block that starts at line 61. I don't have problem with the … | |
Hi all, I am making a web page in which i want to use to dates one for "FROM" field and other for "TO". But i want to for this calendar should not show backdate means it will show all dates after today but it will not show yesterday date … | |
I am having a problem with a select that is showing thru an opaque div. See attached image(sorry, but this is an internal client app and I cannot show more). The blue horizontal line on top is the edge of DIV that I am displaying containing the text you see. … | |
Hello, Wonder if there is a way to have my Drop-Down box selections create individule single row/dual colume tables for each item that was selected from the drop-down box. An example would be: 1: I selected 3 items from my drop-down box at one time (my drop-down box allows multiple … | |
Hi all, I am very new to this but have look some of the examples of deleting tables and or rows with Java. The only problem is that all examples I have seen talke about one table and one or more buttons. What I needs to do is have 4 … | |
Hello everyone, I wrote this AJAX script to process a php file to remove data from a MySQL database, but for some odd reason it isn't working so I've come here for some help, hopefully someone on here will be able to guide me to solving this issue :) Here's … | |
Hello everyone, i need help with a this choice i made to implement button swapping. Basically, the idea is : you have two buttons, each of them links to different pages and is represented by an image (a button of course). When one button is clicked i want it to … | |
I am working on a registration form for a conference. The form has several sections of radio buttons and checkboxes and I would like to have it set up so that if a radio button or checkbox is selected the price related to that selection shows up in the rigjt … | |
i have a problem. i have a folder named jadu, there are various images . i want to show them in the a page. what i did its here [code=php]<? $path = "images"; $dir_handle = @opendir($path) or die("Unable to open $path"); echo "Directory Listing of $path<br/>"; while($file = readdir($dir_handle)) { … | |
Hello. I've been using a very helpful AJAX-based script called [URL="http://www.gayadesign.com/diy/ajaxtwits-load-tweets-on-your-website-with-ajax/"]AJAXTwits[/URL] to load multiple Twitter timelines for a sports team into a div. The nice thing about the script is that it (1) combines multiple timelines into one chronological timeline and (2) caches the xml for faster loading. Every so … | |
Hello, I'm having a problem understanding why would a form I built before would stop working now. Basically I have some javascript functions that are being called in a reservation form with 2 buttons. This is the JS code: [code]var bgMemory; // save color information var fgMemory; var statusinfo = … | |
hiii i have a field called DRIVE ACCESS under it user enters PATH DATE what i want is that when user click on + two new boxes open which allow him to enter the details for second DRIVE basically i want to enter text boxes dynamically using javascript.... any ideas … | |
i am using this function to add rows dynamically [code] function addRow() { var tbl = document.getElementById('applications'); var lastRow = tbl.rows.length; // if there's no header row in the table, then iteration = lastRow + 1 var iteration = lastRow; var row = tbl.insertRow(lastRow); // left cell var cellLeft = … | |
[B]Hi All, I'm new to this community, please help in this ...[/B] [CODE][B]do while not rst.eof i=0 End if blnOdd = Not(blnOdd) colName = UCase(colName) do while (i < rst.fields.count) if (rst.Fields.Item(i).Name = colName ) then ValueSelected(j)=rst(i) selectedName="val"& j Response.write("<td align='center'><B><a href= ""#"" onClick=""return returnSingleValue(this,window.opener.document." & frm & "." & … | |
i googled for it i couldnt find anything how do i make an autosave form? like you know if someone is posting something from a text area it saves after a few minutes/seconds ect so if the page gets f"d up or something u can restore from the last draft? … | |
Hi, I'm having a small problem with JS drop down menu. The problem occurs only in IE6 and IE7 (surprisingly in IE8 everything works fine). The problem isn't big though. when you put pointer over drop down in IE, the drop down part loads 2/3 of drop down and in … | |
I am new to javascript, my skills are very limited, so I use the great scripts I see posted on the net by experianced javascript users. I have this script that picks lottery numbers, the numbers it generates are in a little box, but the problem is the box has … | |
hello friends have a look on my attechments.. the rows are dynamically genrated from database..!! In column Amount user fills values....!!! when user click on add ledger.. a new popup window will open with a form... after adding ledger and closing the popup window...!! the parent page will refresh.. so … | |
Does anyone have a clue as to how you would impliment lets say : onclick="MM_goToURL('parent','index.htm');return document.MM_returnValue" inside lets say this: <script type="text/javascript" language="JavaScript1.2"> <!-- stm_bm(["tubtehr",430,"","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0],this); stm_bp("p0",[0,4,0,0,3,2,0,0,100,"",-2,"",-2,90,0,0,"#000000","#000000","",3,0,0,"#ffffff"]); stm_ai("p0i0",[0," Products ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#666666",0,"","",3,3,0,0,"#ffffff","#ffffff","#ffffff","#ffffff","8pt Arial","8pt Arial",0,0]); stm_bp("p1",[1,4,0,0,0,3,0,0,100,"progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16,enabled=0,Duration=0.10)",-2,"",-2,100,2,3,"#000000","#ffffff","",3,1,5,"#666666"]); stm_aix("p1i0","p0i0",[0,"Order Catalog of Courses","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#000000"]); stm_ai("p1i1",[6,1,"#666666","",0,0,0]); stm_aix("p1i2","p1i0",[0,"AUDIO CDs - coming soon"]); stm_aix("p1i3","p1i1",[]); stm_aix("p1i4","p1i0",[0,"DVDs - coming soon"]); stm_aix("p1i5","p1i1",[]); stm_aix("p1i6","p1i0",[0,"VHS TAPES … | |
I am creating a code in php to read the content of a file and save it in a php array. this is my code: [CODE] <?php $myFile = "isbn.txt"; $fh = fopen($myFile, 'r'); $i=0; $ans=array(); while(!feof($fh)) { $theData = fgets($fh); $url='https://isbndb.com/api/books.xml?access_key=RPGYD5PC&index1=isbn&value1='; $url1=$url.$theData; //echo $url1; $ans[$i]=$url1; $i++; } ?> [/CODE] … | |
There are several categories, and in each category there are pictures. When you choose a category, all picture names are listen (as a list using Ajax). I want to make the list draggable, so that I can change the order of the pictures. Somehow the Drag 'n Drop function does … |
The End.