17,115 Topics
![]() | |
I want to create custom search box like Google. I want to place the image inside the textbox and when user click on textbox the image on textbox must disappear.How it is possible. | |
Hello Friend, This is the question what i have.... I am use main aspx page call [B]A.aspx[/B]... In that page There are links available.. Those link click event call to javascript function...That function include following codes [CODE] function moreWindow2(id){ window.open('[B]B.aspx[/B]?val='+id+'','mywindow','width=850,height=540','location=no'); return false; }[/CODE] link pass the id to the js … | |
![]() | I have a database some short notes in a .txt format file and i have created a php webpage that includes a txt file in html format. Now I have to use "Next" and "Preview" links for that .txt format files. Can anyone suggest me the php or JavaScript code … ![]() |
I am working on a project in which i have to crawl through a number of *.jsp files and index some data from them. These files contain links to other jsps and .wav files. However, these links are of the form $root_dir$/<%=language%>ABC.wav, there language is a variable defined in the … | |
Can anyone help me out in calling a JavaScript function from ASP.Net or if anyone can direct me to a good site/tutorial defining things in detail example (working) code would also be great great benefit :) Thank you | |
I am new to Javascript and I don't want to use frameworks. I found a tutorial on how to make this: [CODE]<html> <head> <title></title> <script src="jquery-1.4.2.js" type="text/javascript"> </script> <script type="text/javascript"> $(document).ready(function() { $("div#msgbox").hide(); $("#addComment").click(function (){ $.post('index1.php', { name:$("#name").val(), //PHP recognize it like POST comment:$("#comment").val() //PHP recognize it like POST }, … ![]() | |
G'day, Before i start, i have to admit that I'm out of my element when dealing with javascript! I've been developing a site for a travel agency, and opted to use some of the UI elements which can be found in jQuery. The problem is however, that when I move … | |
haii friends.... [COLOR="Red"]i want to select a particular string from textarea...i need it in javascript.... am using the tag <layout:textarea> i did not need the whole ,but only a part...plzz help me...[/COLOR] | |
![]() | I have a database some short notes in a .txt format file and i have created a php webpage that includes a txt file in html format. Now I have to use "Next" and "Preview" links for that .txt format files. Can anyone suggest me the php or JavaScript code … |
I can't get this to work in Google chrome. It's supposed to display after being processed by the php file. here's the javascript <code> ajaxRequest.onreadystatechange = function(){ if(ajaxRequest.readyState == 4){ var ajaxDisplay = document.getElementById('ajaxDiv'); ajaxDisplay.innerHTML = ajaxRequest.responseText; } } </code> here's the html/css code <code> <div id='ajaxDiv'><p></p></div> </code> Here's the … | |
Hy every body, what I am making is some functions for other people to make figures with pixels. So I put two documents: imagepixel.html [CODE=dhtml] <!doctype html> <html> <head> <meta name="author" content="Someone"/> <meta name="description" content="my webpage ..."/> <meta name="keywords" content="my, webpage"/> <title>image by pixel</title> <script language="JavaScript" type="text/javascript" src="imagepixel.js"></script> <script language="JavaScript" … | |
Hello, a few months ago I started not being able to view javascript. Google ads, chats, javascript popups, chats ect. I use Mozilla firefox but I have the same prob on IE (Yes javascript is enabled on both). I use XP and run Nortions Internet Sec 2005 although I have … | |
I have a table that looks like: [CODE] <table id="mytable" border="2" width="640px"> <tr> <td></td> <td><b>Col 1</b></td> <td><b>Col 2</b></td> <td><b>Col 3</b></td> <td><b>Col 4</b></td> <td><b>Col 5</b></td> <td><b>Col 6</b></td> <td><b>Col 7</b></td> </table> [/CODE] and a function to add a row and cells in the row that looks like: [CODE] function addRow() { //add … | |
I have built a marquee of images that scrolls inside a cell of a table. The marquee width, of course, is dictated by the width of the cell. But I don't want the number of images that actually scroll inside the marquee to cut off based on the width of … | |
i have a problem regarding light box focus.. i have a button that whenever i click the button it will call the light box.. there are 2 function . [CODE] function focus_on_lightbox(seconds) { var seconds_waited seconds_waited = seconds document.getElementById(EducationBox).focus(); seconds_waited += 100; if (document.getElementById(EducationBox) != document.activeElement && seconds_waited < 2000) … | |
I have to develop a code editor as my internship project. But I could not find a head start in a brief search. Firstly what should I, in your opinion, develop? A desktop code editor or an online code editor? Currently I am inclined for an online code editor. However, … | |
Good day every body, this my script can submit form inputs to email.but i wants it to equally display another page on submit.to this effect i have add this code below to the body of the main code but its not working.U can see where i added it at bottom … | |
call javascript function at runtime using c# | |
Hi Everyone, I have to create a dynamic HTML page that actually contains two separate HTML forms.Can anyone tell me how can I create two forms in a single HTML page. Thanks. ![]() | |
Write the ideal weight calculator so that height in inches is entered by using a slider. Use the approximate formula: W = H2 / 30 , for female W = H2 / 28 , for male where W is the ideal weight in pounds, H is the height in inches … | |
I have just used facebox in my development and it works well in FF and Safari but it doesn't work in IE. This is site I got it from [url]http://www.dynamicdrive.com/dynamicindex4/facebox/index.htm[/url] I site I am working on is [url]http://www.bayglassinc.com[/url] Any suggestions | |
Hi friends, I have prblem that I need to view tab #2 when loading the index page, here is part of the index, it goes to tab1 as per the javascript function below (.tab_content:first).show, I tried (.tab_content:second).show but it did not work! Also I was unable to activiate first class.. … | |
Hi In my web page i am using tweetmeme button java script code.its working fine.When i was trying to put js code inside ajax content,and click the ajax callback button the entire page shows blank page.I thought the reason for this is java script using window.location.href.But i am not sure … | |
Hello I need to build an interactive shopping page for a client. Now, what I need is an ajax/javascript coding.. What I need is similar to [url]http://www.switchflops.com/cart/home.php?ctype=ballet[/url] When you click a shoe image thumbnail, an image of the shoe will appear, and then when on the accessory thumbnail, the shoe … | |
Hi, im trying to make a quiz in which we can alternate b/w 2 questions for now....The thing im trying to do is that suppose we're on question 1, we answer and proceed to question 2, when i come back to question 1, that answer should be visible in the … | |
when i am running this every page is taking the default fist value I have seven tab each tab having links now I want to highlight specific tab for which the link has been chosen but script is not working plz help here is the script <script type="text/javascript"> /*********************************************** * … | |
Hi folks, please help. My php script combine different fetch records and I use the jQuery pagination as the kind of menu. (jPagine from [URL="http://www.phpixel.fr/jpagine/"]http://www.phpixel.fr/jpagine/[/URL] I need change page numbers to words. I know the total number of pages. I tried use array in javascript but without success ... Many … | |
can someone help me setting up a log in form that can be found here in dani.. whenever you clicked the login link a box will appear wherein in thix box you can input your username and password? | |
So, I am new here and have a few questions about using the "this" keyword in Javascript. I am new to javascript but have much experience with C++. First question, is the "this" keyword just like using self? Secondly, if it is like self, and I use it in say … ![]() | |
ok, the link to site [url]http://www.hypn0ticproductionz.com/hptestsite[/url] if you click on the buttons to the side and then click on the bottom one again. it doesn't take it back to the original spot if you take a look at it you will see what i mean what is in RED is … | |
Pressing the enter key of the following page (created by JSP) submit page more than once. Both alert popup boxes appear as expected: alert('i ' + i + ' elem[i].checked ' + elem[i].checked); alert('alarmgroup ' + alarmgroup + ' rowsPerPage ' + rowsPerPage); appear. However, then this alert appear again, … | |
Hey Everyone, I have a blog that has three content/picture boxes on each page at the top. Below these boxes is the actual text content. Well what I want to do is create a script that will scroll smoothly down just right after those three boxes. This may sound confusing … | |
I have some ad code in a smarty .tpl file that I want to refresh every 10 seconds so it will load a new ad. My ads are getting plenty of views but I want people to multilple ads in one page view instead of when the whole page is … | |
I have created a script that will send form data via XMLHTTP using POST and then update a div with the results. This is working fine as the correct results are displaying in the table, however I am having a few issues with launching some JQuery effects. The problem I … | |
Dear all, i have checkbox ex: [CODE] <?PHP $price_1 = $100 $price_2 = $10 ?> <input type=checkbox name=products[] value=id_1> buy host <input type=checkbox name=products[] value=id_2> buy domain blah blah.... [/CODE] now i want added the javascript when check box someone show the price in text input ex: [CODE]<input type=checkbox name=products[] … ![]() | |
Hi, In my aspx page I have a gridview inside a panel as below <asp:Panel runat="server" ID="pnlContainer" ScrollBars="Auto" Height="781px" Width="1250px"> <asp:GridView ID="gvCashFlowDtls" AutoGenerateColumns="False" runat="server" Font-Size="Small" DataKeyNames="UID" Width="98%" onrowdatabound="gvCashFlowDtls_RowDataBound"> <HeaderStyle CssClass="GVFixedHeader" /> <Columns> . . . . . . . . . </Columns> </asp:GridView> </asp:Panel> This is the style I used … | |
hello all, i have this code [CODE]<script type="text/JavaScript"> function checkbox_click (number) { alert("number is" + number); } </script>[/CODE] [CODE]echo "<input type=\"checkbox\" name=\"boxname\" " value=\"5\" onClick=\"checkbox_click('3');\" /> \n"; [/CODE] i want add more code in javascript when is check show me in input text the number and when i check mutlti … ![]() | |
Hi All, I'm developing a Calendar project . I have all the concepts and framework with me upto my knowledge. I need to show the events on a particular day which i will fetch it from mysql values by PHP. Forgive me if im not posting in a professional way. … | |
My javascript function setHw is not called by pressing the return key in all of the following pages. Please help. [CODE]<div id="rowPerPageDiv"> <form name="tagform" action="Hw.htm" method="post"> <input type="hidden" name="currPage" value="0"/> Rows Per Page<input type="text" name="rowsPerPage" id="rowsPerPage" value="20" onsubmit="return setHw()"/> <input type="button" value="Apply" onClick="setHw()"><br> </form> </div>[/CODE] [CODE]<div id="rowPerPageDiv"> <form name="tagform"> <input … ![]() | |
I'm pretty new to JavaScript. I'm trying to define my custom errors, but it doesn't seems to be working [CODE] function MyError(msg){ this.message = msg this.name = "My Error" } window.onload = function(){ try{ throw new MyError("Test Message"); } catch(e) { alert(e.name + ": " + e.message); } } [/CODE] … | |
I have an image rotator that uses nested intervals. The outer one switches the images, and the inner one preforms the fade. The problem is is that the display is not updated during the interval function, and so, the fade is not displayed; the new image just appears- no fade. … | |
Hi I'm new to Javascript and trying to get a layer div to display next to the mouse cursor. My code works great in IE and Chrome browsers but won't work in Firefox. If I remove the part bewteen the asterisks which gets the cursor position it works fine, but … | |
While cleaning my computer, I notice that I have a lot of files that are marked as LOCAL file under File type. Does anyone have a clue as to how to open these? My cleaning software is flagging these files as files that are junk files that need to be … | |
![]() | Hi again, I'm trying to load a text file into a variable and I know of the jquery load [CODE] $("div").load("file.txt"); [/CODE] but I want to be able to load it into a var, does anyone know how to do this? Thanks in advance. ![]() |
Howdy, First off, I should say that I am jumping on posting this issue much quicker than I normally would - but I'm not really in a patient mood now, and I'm far from being a fan of anything the W3 has done. Anyhow, I am in the process of … | |
Hi experts, i developed javascript code that connects to ms acess database 2003. Everything work fine as it can insert,update and delete information from database. But my problem is that when i try to validate all my input text so as to ensure that my user must fill all the … | |
Having a problem that I can't seem to find a solution for. I am using a picture as a button for my site and when you click the picture it brings you to the main page of the website. My problem is that I want the button to make a … | |
Hi experts, i developed javascript code that connects to ms acess database 2003. Everything work fine as it can insert,update and delete information from database. But my problem is that when i try to validate all my input text so as to ensure that my user must fill all the … ![]() | |
I wrote this code because I wanted the members of my volunteer organization go have a place they could easily get the most current list of email addresses to send a message. This code reads the names and addresses from the database, and creates a comma delimited list of addresses … | |
I'm a little out of my depth in server-side scripting, so I have to ask for some help here. I had some great help yesterday getting a 'select-all' checkbox script working, but have run up against a wall on the next step. Here's what I want to do, it relates … |
The End.