17,115 Topics
![]() | |
I did all the process as specified in [TEX]http://wiki.script.aculo.us/scriptaculous/show/Ajax.In+Place+Collection+Editor[/TEX] But when i select a value from the combo .... it hangs at "saving..." there is no return .. . i did tried with just putting echoing the value with validity checking even thought there is no return i m using … | |
This tutorial will explain how to code a perfectly cross-browser compatible, single-level drop-down menu for your website. The first thing you are going to need is a little bit of JavaScript courtesy of Suckerfish. This should be placed in a file called menu.js and saved in the same directory as … | |
Hi guys, i have built a site and having a little problem with safari's browser...i wanted to create an other Stylesheet to ammend the bugs in safari but dont know the javascript code to apply it to my site when the user has safari to use this certain stylesheet.css file … | |
Im trying to rewrite a link with a href function. I need to parse a query string within it ('+tid') But all attempts Have falied. The current onclick/ link function <a href="javascript:who_posted();">Who Posted?</a> is attached to my forums 'replys' number colum in forum veiw' (i have no direct access) it … | |
i am using scriptaculous.js and prototype.js my ajax is returning following tags (text) [CODE]<p id="tobeedited4">one</p> (should manually select "two")[/CODE] and while calling the ajax it has [CODE] new Ajax.Updater('contact_div_edit',"./doit.php", {asynchronous:true, parameters:poststr,onComplete: showResponse, evalScripts:true}); onComplete: showResponse[/CODE] my showResponse function goes like this [CODE] function showResponse() { new Ajax.InPlaceCollectionEditor( 'tobeedited4', '_ajax_inplaceeditor_result.html', { … | |
Not sure what I'm doing wrong but this just won't work, I've tried a bunch of different methods but I just haven't been able to hit the nail on the head. The html page code looks like this: [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"> <head> … | |
Hi guys, hope you can help me........... i have developed a website based on the Mozilla Firefox browser, obviously it works fine on that browser...my entire website has been developed on one page, i use JavaScript to hide div tags and only shows their contents when they are selected, see … | |
I have a script (below) that consists of a form using javascript that shows an array in a table below it once a number is chosen. What i would like to know is can i turn the array into a form as well with the same data but include a … | |
Hi , I forget where to look on the W3School ,I have [url]www.servisracunara.co.nr[/url] site and as you can see my images on the left side do not work ,so i need to tell me where to look about these clicking on the image in Java Script , I hope that … | |
Hi everyone! I am rather stuck trying to create a very simple savings calculator on a website. All I need to have is a field for number of PC's, Printers, Servers and how much is spent per month on IT. When they click the "get Quote" button, I'm hoping to … | |
Greetings, When you initially load LogicWeb's home page, [url]www.logicweb.com[/url] it hesitates for about 1-2 seconds on loading the ajax tabs up top (you can't miss it, right below main navigation bar). I am trying to figure out why this happens, but I just cannot seem to grasp the cause. I … | |
Is there any way to count users in my chatroom and display whos chatting using javascript or ajax? code in php below has issues, but this is what it should do. <?php $chatnames = file('http://client11.addonchat.com/scwho.pl?id=292747&plain=1'); $indx = count($chatnames); $indxcom = $indx - 1; if ($indx == 0) { echo "<b>No … | |
hello, i am new to asp with javascript <%@language="javascript"%> i want to insert data into Access, but i fail to connect to database using javascript :( do i need to include some file? | |
Hi to all I'm looking for a substituted of the clip Property, I'm using following the code(take from [url]www.w3schools.com[/url]); [code] <html> <head> <style type="text/css"> img { position:absolute; clip:rect(0px 50px 200px 0px) } </style> </head> <body> <p>The clip property is here cutting an image:</p> <p><img border="0" src="bookasp20.gif" width="120" height="151"></p> </body> </html> … | |
I have a asp forum and now i whant to make some tooltip on this one. I whant to show was in the forum when i hit a link. Se the images and then you understand what i meen One more thing is if here are someone that can give … | |
What on earth is wrong with it? <? Header("content-type: application/x-javascript"); $chatnames = file('http://client11.addonchat.com/scwho.pl?id=292747&plain=1'); $indx = count($chatnames); $indxcom = $indx - 1; if ($indx == 0){ echo "document.write(\"No one is in the chat room at the moment"\)"; } else{ echo "document.write(\"<b>Members Chatting:</b>"\)"; for($i = 0; $i < $indx; $i++) { $name … | |
I am fixing an e-mailing system using php and mysql and have hit a stumbling block. i have recently had to take on someone elses work and have fixed most of the problems they had created. I need to upload images and then display them on the newsletters that will … | |
I have a need to force all items in a listbox to become selected before I force a submit. I need something to select everything in a listbox called SpacesServed: $("#form1").submit( function() { . . . code goes here . . . } ); Any ideas? | |
hello i am trying to get uploaded to a server using a hidden iframe so the page does not reload. i have a upload.php page which resizes the file and remanes the file. What i thiink should happen is that the php file should be in the iframe and the … | |
I have a GridView which is geting fiiled on the click of a button have method "FilGrid" I want to use the update panel of AJAX so that the page should not get refreshed at the button click but i m not able to do it .. I have putted … | |
pls help me to set the width of a combo in IE.....is there any way to fixe the width in IE.... In mozilla ,i fixed it using style="width:100px"; thankzzzzzzz | |
I'm hoping one of you javascript guru's can help me because i'm new at javascript!!! I need to return the score from my function and have it emailed with the test results. How do i do it? here is the code: (i know it's mickey mouse but it took me … | |
I'm trying to correct some W3C validation errors found at [url]www.logicweb.com[/url] I'm not a designer by trade, but I learn quickly and would appreciate help on this. The code used for the view packages button is below, and the one that caused W3C errors [code] <div id="view_packages"> <h4><a class="view_packages_button" href="/services/hosting.php" … | |
hi all i want to get a calendar in following format.. [Button to change month]{Month}{year}[Button to change year] -- [List of dates horizontally] How it can be done using either Javascript,HTML or Ajax | |
function SplitText(text,count) { if(text.length > count) { var _temps = text.substring(0,count); return _temps + "..."; } else { return text; } } Example : var s = SplitText("serkansendur",5); s will be "serka". | |
[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- function view(ss) { if(ss.options[ss.selectedIndex].value!="none") { window.location="http://jesus.freehyperspace2.com/desc.php"; } } --> </script> </head> <body> <form method="get" target="frameright" action="http://jesus.freehyperspace2.com/desc.php"> <?php $hostname="localhost"; $username="jesus_jesus"; $password="jesus"; $dbid="jesus_jesus"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select * from career"); if($result) { print "<select name='IndustryType' language='javascript' onChange='view(this);' size='15' tyle='width:250px'>"; print "<option value='none' selected>Choose Industry … | |
Hi all! I need to know how to [B]repeat a javascript code snippet[/B], until the [B]table's row is full[/B] - so [B]without stretching[/B] it. The row is inside the middle column of an 80% width table, made up of 3 columns, one for a left side graphic, the middle column … | |
I have searched for a tab menu script for a long time but none of them was flexible enough,then i created one for me. The algorithm is nice so the script is not too long although being flexible. your tab menu is in an html table row as follows : … | |
Menu is about three things : 1) Position 2) Show-hide 3) Content the Positining function is this : function elementPosition(obj) { var curleft = 0, curtop = 0; if (obj.offsetParent) { curleft = obj.offsetLeft; curtop = obj.offsetTop; while (obj = obj.offsetParent) { curleft += obj.offsetLeft; curtop += obj.offsetTop; } } … | |
Greetings all, I have multiple list options linked, like Country, city, town, when e.g france is selected it gives all the cities in france in the following option list. and when say paris is selected it gives you all the towns in paris and third category. I have found an … | |
When you assign a source to an image via javascript, it will take sometime to load the image. To get around this problem you can preload the images creating virtual images via javascript as follows : if(document.images) { // create a virtual image var img1 = new Image(); // preload … | |
Create Ajax Enabled WebSite. Set EnablePageMethods property of the ScriptManager to true : <asp: ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" /> In the CodeBehind of the page, register System.Web.Services namespace. Create a Method as follows : [WebMethod] public static void DoSome() { } the method must be static and tagged as WebMethod. … | |
I have an updatepanel control in the middle of a page, and i have a link at the top of the same page. I refresh the updatepanel by clicking the link ;however, i want the updatepanel to scroll intoview as well. My javascript scrollintoview method didnt work because updatepanel tries … | |
i search for a ready script for smooth scrolling but i couldnt find any. So i did it myself as follows, it works perfectly function elementPosition(obj) { var curleft = 0, curtop = 0; if (obj.offsetParent) { curleft = obj.offsetLeft; curtop = obj.offsetTop; while (obj = obj.offsetParent) { curleft += … | |
Hey everybody! I'm new here...just joined today. I'm an amateur programmer...wrote a couple of websites...but I'm still working on uploading them. I'm learning CGI, JavaScript, and Java...already learned HTML and XHTML. This is pretty cool! | |
i am beginner. if this error occur ; [B]Undefined variable: oCustRes [/B] what suppose i do? i want to use the variable in javascript. when i define the variable, a database error will occur. where should i define the variable? in the javascript or outside? :( | |
I know, this is a weird question, but... I am working right now on an inherited project, and finding this quite a bit. [code] $objSomething -> $object [/code] I have had it explained to me that this is similar to the dot in javascript's [code] element.style [/code] This concept in … | |
hey i have a text box and a button on one page. my question is, when somebody writes something in this textbox and presses submit (the button), the output will be shown on other page... so i need to know what code to put Thanks, 7arouf | |
Helo... Thanks for read my thread... i have problem to make a web page like my.yahoo.com or sourceforge where we wil download and popup newsletter show... where a news click, a new pop-up window show and the web-page(background) become more darker and pop-up window willbe focuss... Anyone can help me...? … | |
I am trying to do a store page for my class. I have a perl script that generates simple HTML tables. The store pages uses ajax to load the tables into the form. The form has all the elements, but when I submit, there query string is empty. I tried … | |
I created a javascript function [B]FnNextQuestion()[/B] but I have a problem calling it in my C# class. Is there a way to call this function inside my aspx.cs class? I need help please... | |
Can someone help me? I have a enquete script with checkbox answers for question when more than one anwer can be choisen but de script will only write de latest answer to my txt file. Can someone help me? This is the first time i work with PHP. <?php # … | |
hey im really new with javascript. can someone tell me whats wrong with this? [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <title>calculate distance and slope between two points</title> <script language="javascript"> <!-- var x1=0; var y1=0; var x2=0; var y2=0; var xdif=0; var ydif=0; var … | |
I have a parent div=body, and four child div's=sidebar (dark gray), spacer1, content (white), and spacer2. Those are not the backgrounds of the individual div's. I'm using a faux columns method of taking the parent's bg and y-repeating it. You can see the problem below. This works in IE6, but … | |
I will start this thread with a problem that I am trying to solve. I have searched for a solution, and can't find one, and daniweb.com users have been a great help in the past. This is a tricky one for me.. I hope we can find a solution. All … | |
Hi all On my jsp page i m having two tables.. first table have 14 rows which takes input type=text. and my second table is having 9 rows which also takes 9 inputs. Thus total 23 inputs on a form.. Now when the user click submit, i want to check … | |
haii... pls help me to get the cursor position in javascript....from textArea thankzzzzzzz | |
Help, I have a web based form containg values typed in by the user. The first value is called noItems, which is outside the form. The form contains a persons name, the number of items,noSub, thay have submitted and their final grade. I need to use noItems and noSub to … | |
Hello List! I'm having a problem getting a line break/feed on a page...I'm passing parameters from one page to another (this particular one is being passed to a textarea), and would like to pass them with page breaks between them... Here's my current code [code] <script language="javascript"> openIssuesWindoid('../../GUtilities/IssueCreator/IssueCreator.asp?name=<%=session("userFullName")%>&email=<%=session("userEmail")%>&summary=Station Type Change … |
The End.