15,688 Topics
![]() | |
I have a parent and child window. the parent window contains an array parentArray. this is the parent window: Code: <html> <header> <script language="javascript"> var parentArray = Array(); ... </script> </header> ... </html>the child window looks like this: Code: <html> <header> <script language="javascript"> function cutArray(){ window.opener.parentArray.splice(1,1); } </script> </header> <body … | |
I'm trying to use a local HTML file as a SOAP client. I'm new to this, but I believe that leaves JavaScript or a normal POST form as options. I've gotten some responses from simple web services using [URL="http://www.ibm.com/developerworks/webservices/library/ws-wsajax/"]some code from IBM[/URL], but I keep getting errors when trying to … | |
Hi all, I am working on an application.In which i am using calendar. In this page i am using calendar for Travel date and other for Return Date. But i want that if i will select past date from calendar then is should give alert that we can select past … | |
I'm validating two records entity type and name using ajax but my problem now is that it works well all other browsers except firefox. var basiccounter ; function ServerSideValidation(contact_counter,detailed_counter,f,selection,o_name) { basiccounter = 0; //sending entity type to the server var urlEntity = "entity_type.php"; urlEntity = urlEntity+"?type="+document.getElementBYId(selection).value; urlEntity = urlEntity+"&sid="+Math.random(); checkName(urlEntity,"GET", … | |
Good Day all I have a Usercontrol that has a Gridview and its hosted on my aspx page and the aspx page is defined like this [CODE]<%@ Page Language="C#" MasterPageFile="~/SubjectMasterPage.master" AutoEventWireup="true" CodeFile="SubjectStruct.aspx.cs" Inherits="SubjectStruct" Title="o! WebEditor : Subject Structure" %> <%@ Register Src="SubjectNote.ascx" TagName="SubjectNote" TagPrefix="uc4" %> <%@ Register Src="SubjectDetails.ascx" TagName="SubjectDetails" TagPrefix="uc2" … | |
Hi frnds, I m new to ajax. I have implemented the ajax autocomplete <ajax:autocomplete source="insSearchText" target="insSearchText" baseUrl="<%=searchURL %>" parameters="searchText={insSearchText}" className="autocomplete" /> It is working alright,but i need that when the autocomplete list has been populated,and down key is pressed the option in list should auto fill the textbox accordingly as … | |
I've created a admin center, that has two seperate login permissions. Admin which can edit listings, etc... and Viewer which can only view listings, and edit 1 or 2 of the listings details and not all of them like the admin. I've seen web-sites where certain text input fields are … | |
Hi. Suppose I have a list box, which is filled out from mysql, and I have a text box and a submit button. I want to add the text box data into list box and at the same time I want to have the text box data into mysql as … | |
Hello, I have copied this code but I do not really understand what this code is about. . :?: When I put this into my code to expand certain terms, it shows result but it just shows the last record in my table..not taking the variable I posted. Can anyone … | |
Hi friends, I am able to create a row dynamically with 3 cells(i.e column). In my 3rd cell i need to add another row. Is it possible to acheive it. I am using Java script for it. This is the table structure: [code=html]<table align="center" id="msgfield" width="100%" cellpadding="1" cellspacing="0" border="1" bordercolorlight="#999999" … | |
I would like to syndicate content from one website to sections withing many other websites. So far I've been using iframe but the problem is that the content presented on these websites is not indexed hence does not improve SEO. [B] I was wondering if you have a solution for … | |
I was wondering if anyone knows any Carousel script that can display photos, which one can slide in between using a slider? I.e similar to Mooflow, but I want to display only one photo at the time and don't want the zooming effect when sliding. I was hoping there might … | |
hi all, I am new in php. I want to show every row one by one during processing with check icon in the right side from row 1 up to row n? table row 1 √ row 2 √ . . . . . row n √ | |
Hi friends, I need know how make a image rounded with the help of Javascript. If anyone knows the script please let me know. I have given a link below that shows the sample of how i need the image. zazzle.com/cr/design/pt-mug Please help!!!!!! | |
Is there a foreach code in JQuery as in PHP? I have a code in php,like [code] <?php foreach ($viewfields as $viewfield): ?> if("<?php echo $viewfield['Attribute']['required'];?>"=='true'){ $("<span class='req'><em> * </em></span>").appendTo("#fb_contentarea_col1down21 #label<?php echo $viewfield['Attribute']['sequence_no']?>"); } if(<?=$viewfield['Attribute']['type'];?>=='text'||<?=$viewfield['Attribute']['type'];?>=='date'||<?=$viewfield['Attribute']['type'];?>=='number'){ $("<input id=input<?=$viewfield['Attribute']['sequence_no'];?> type= 'text' style= 'width:<?=$viewfield['Attribute']['size'];?>px' data-attr=<?=$viewfield['Attribute']['type'];?> ></input><br>").appendTo("#fb_contentarea_col1down21 #<?=$viewfield['Attribute']['sequence_no'];?>"); } else if(<?=$viewfield['Attribute']['type'];?>=='textarea'){ $("<textarea style= 'width:<?=$viewfield['Attribute']['size'];?>px' … | |
![]() | Hi, I'm trying to create a page that contains a table that is hidden initially (on page startup). Later, when a link is clicked, the table should show permanently. The problem I am having, however, is that when I click on the link, the table shows for a second and … |
I do not much understand what is going on. The iframe is transparent in all browsers but IE. I need to change the background color in IE, of my iframe and cannot figure it out. My code is below. It is pulling from an external file exfile.js. Nothing i have … | |
Hi, I have a Book Registration Form, in which one book may have more than one authors and can belong to more than one category, therefore on the registration form, I have a textbox for the category, in order the category is not in the dropdown, I want to add … | |
Hello- I just joined and have read the thread:[url]http://www.daniweb.com/forums/thread48188.html[/url]. I was advised to start a new thread as that one is to old now. Anyway, I have the same problem and am trying to use the "hidden" input tag to access the parameters I need in the jsp. My code … | |
Hi, I want to create quick preview window for images listed in my website. For example: if you go to this site [url]http://www.templatemonster.com[/url] there are little images on the right end side. When mouse over on any image, a bit preview window opens. I want something like this. How can … | |
I'm in a situation where I have to pass javascript variable to php without redirect (no $_get[]). The code I'm working around is like [ICODE] <script> var screen_width=screen.width </script> <?php $screen_width=[B]javascript_variable[/B] ?> [/ICODE] I want to pass value of this variable to a new php variable.Please suggest me a way … | |
Hi, I'm amateur in Ajax programming.:icon_smile: I wrote a sample project and did this : First I put three controls to the form (script manager, update panel and update progress) then I put two textboxes and a button to develop kind of login page. When button pushed, first I check … | |
Hi , I am developing a web page . For this i am using Javascript embedded in html. In the application ,the user can input data via interfaces in the page which is chosen and read from a master xml file , the chosen data then needs to be stored … | |
I have what I hope is a simple question. I found a js that does exactly what I want, except that I want the table 'closed' when the page is loaded, and opened when the +/- is clicked. I'd like this in Java. (assuming that non-java users would see the … | |
Hi people!!! Why this little block do not work in Firefox? [code=html]<html> <body> <input type="button" value="teste" onclick="javascript:alert();" /> </body> </html>[/code] Thanks for any help. Best regards. | |
I am trying to dynamically populate a select box with Jquery and JSOn in my VB.Net ASP.Net application. The event is triggered in the selectedindexchanged of another ASP Dropdownlist in the page. I am getting my selectlist populated (thanks to [url]http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_and_JSON.aspx)[/url]. i am passing two values to the select box. … | |
hey, i am working on a webdesign for my boss and i was doing some scripting cause he wanted to be able to "zoom/enlarge" something using a simple zoombutton. the code i wrote works perfectly in firefox en safari, but in ie7 and ie8 it just doesn't :( [CODE=prototype]var checker=true; … | |
What's wrong? Why don't work stop funkction? I think that the poor turn to the function, but otherwise I do not know ... [code=html]<html> <head> <script type="text/javascript" src="jquery.js"></script> <script> $(document).ready(function() { //Paleidimo funkcija var time_ref = setTimeout(function() { var time_ref2 = setInterval(function() { $('#time_now').load('time.php?id='+ Math.random()); }, 1000); }, 3000); //Laiko … | |
Hi, with Mozila everything work, but with IE didn't work. Page didn't reload. What's wrong? [code] <html> <head> <script type="text/javascript"> setInterval("sendRequest()", 1000*2); function createRequestObject() { var req; if(window.XMLHttpRequest){ // IE 7, Firefox, Safari, Opera... req = new XMLHttpRequest(); } else if(window.ActiveXObject) { // Internet Explorer 6, 5 req = new … | |
Ok, I will be honest - my first javascript challenge is a little hard, but has been handed down to me from my uncle. He doesnt know how to do it, and thinks a fresh mind might be able to make sence of it. Fresh meaning fairly new to js... … |
The End.