17,115 Topics
![]() | |
Dear Friends, im creating a website in which i get a response of my XML request from server. Searchhotel.aspx create the [B]request[/B] and listofHotels.aspx get the [B]response[/B] on its Page_Load event. Currently when i click on Search button from Searchhotel.aspx page it remains on Searchhotel.aspx Page and only display listofHotels.aspx … | |
I have two php files. index.php [code] <html> <head> <script type="text/javascript"> function openG() { window.showModalDialog('profile.php'); } </script> </head> <body> <input type="button" value="Press" onClick="openG()"/> <?php extract($_GET); if(isset($yes)) echo $yes; ?> </body> </html> [/code] and a profile.php file [code] <html> <head> <script type="text/javascript"> function woot() { window.close(); } </script> </head> <body> <form … | |
i am useing Javascript Function's for validation Its Working Fine But If Condition Not Matches Its Not getting Focus On That Control. cursor Going To url ...is There Something with Post Back....Plz Reply Thanks & regards Kaustubh | |
I want to place all opening tags in an array. In the example below, the following array should be created: [code] var tagsOpen=new Array(); tagsOpen[]='<h1 class="h">'; tagsOpen[]='<p>'; tagsOpen[]='<strong class="w">'; tagsOpen[]='<p>'; tagsOpen[]='<span style="color: red">'; tagsOpen[]='<span style="color: blue">'; tagsOpen[]='<span style="color: green">'; [/code] That array should be dynamically created from this: [code] <!DOCTYPE … | |
Hello all! I have a javascript running on my site at [url]http://www.kayoss.net[/url] that disables right clicking (viewing source, saving pictures, etc.) that works beautifully in IE...but not in Firefox. Does anyone know of a solution? | |
Hi Been trying to use the json_parse function from the json.org website - looking for a link to a tutorial (or a short example) to show how i would use it to cycle through a list of responses - in this case im returning a JSON object with an id … | |
Hi everyone, Im having some issues with a website that im working on. The website have mysql database and all of the server side code is done in php, therefor all of the files are named with a .php extension, I know it shouldn't make any different but for some … | |
Hi, Do you know a good, free to download book about AJAX (pdf, djvu, chtm?, any)?? Plz, give a link!!! THNX!!! | |
I've got a table in an html document im writing, and i have two separate cells which need to pull parallel information. For example, a book title and a summary. The book title and book summary need to be from the same book... Ok, so i have one array with … | |
Hi, I'm trying to use javascript regexp to find the following. var url = "http://cgi.ebay.com/BRAND-NEW-UNLOCKED-32-GB-Apple-iPhone-3GS-3G-S-Any-Sim-/320459852842?cmd=ViewItem&pt=Cell_Phones&hash=item4a9ce54c2a"; I need to get 320459852842 from the above url. This is the regexp i'm using which doesnot get me the result. var matched = url.match('^http:\/\/.*(?=\/)?([\d]+)*(?=\?|cmd)*/'); Pls Help. | |
Hi fellow devs, not sure if this is the right place to post but I wanted to share my application with you, in the hope that it may be useful to someone if you are developing a website and need an off the shelf gallery... xFlow! ([url]http://xflow.pwhitrow.com[/url]) is a gallery … ![]() | |
Hi there I have a form which will delete items from a MySQL database. I'm having one problem though. I'd like to have a confirmation window popup and if yes is clicked then the php gets processed to delete the row out of the database. Is it possible for javascript … | |
i have a website [url]http://www.stackway.com[/url] search "basketball" for an example with results i'm trying to add a quick-add feature, which will be a firefox add-on so i can build the database quicker. is there a tutorial? i want to capture the current page in the browser and then input into … | |
Hi, I'm not an expert when it comes too designing. so i was wondering if anyone could help me. I have a page that generates A LOT of data from the database via php and puts it in a table so I can never determine the current height of the … | |
Hi, I have a page on my website where I put an iframe and display inside it another website, something like this: [CODE] <iframe frameborder="0" height="100%" scrolling="yes" src="http://www.another-website.com/" style="overflow: scroll; min-height: 600px;" width="100%"></iframe> [/CODE] My problem is that my page have a fixed width of for example 800px which the … | |
Hello, I have a lightbox (jQuery) in my website and I'm looking for a way that I will be able to connect people from link direct to the open window using the lightbox mechanism. Is that possible to that using a link the lightbox windows will open in over the … | |
I am building a custom content management system and I am not seeing how i can add elements above and below. I have elemnts (text area, header span, data display code) in a database and want to add them to a page, i can do 1 into a marked div … | |
Hi, I want to create some kind of AJAX script or call that continuously will check a MySQL database if any new messages has arrived. When there is a new message in the database, the AJAX script should invoke a kind of alert box or message box. I’m not quite … | |
working on a form to update particular user details if required. as you can see there is also a print button. i want to know how i can print out the div=formData if print button is clicked. according to my current code when print is pressed the whole form itself … | |
Hi all, I need to know this one. I have web application and i need functionality like client have certain pdf file on his/her local system. I want to use html/javascrpit to print these pdf files without opening. Thanks in advance. | |
hey, I need a 24 hr i.e 00:00 to 23:59 timepicker in javascript. Precisely, the requirement is such that the database format are 24 hr timestamps. Hence I cant use am or pm time pickers.. Plz help guyzz.. | |
Can you help me write a program that displays and 8 by 8 grid of panels, all of which are initially colored white, but when the user presses the mouse within a panel, this color changes to a random color? | |
Hello, I have a spry accordion that I have inserted in Dreamweaver with 5 tabs for Monday-Friday. How could I make the tab active depending on what day it is? i.e: So if its Tuesday the Tuesday tab will be active. [CODE]<div id="TabbedPanels1" class="TabbedPanels"> <ul class="TabbedPanelsTabGroup"> <li class="TabbedPanelsTab" tabindex="0">Monday</li> <li … | |
Hi Having a problem with iframe resizing when the iframe body is a jsp file which contains a dynmically built ajax table. Users select different options from a drop down. All but 1 is a standard static jsp file. The other is a jsp file with a dynamic ajax table … | |
hello there, I 'm new to this, but I'll appreciate it if someone could help me with my script I'm writing a javascript that add's site to favortites. It works fine in IE but not in anything else. This is for a clients site who uses Mac and linux. I … | |
Hello everyone, I'm trying to combine 3 form input fields into 1 that is hidden (Date of Birth). The input fields are DOB-MM, DOB-DD, and DOB-YYYY and the hidden field is DOB which will store the Date of Birth in the following format 'YYYY-MM-DD'. Unfortunately I don't know javascript so … ![]() | |
Hello! =) Please help me with this! =) This is my last one to my diploma work! =) If the user enters a number in the textfield, than JS should set the selection in the textarea to that line. Empty lines are changed to " \n" coz I like for-in … | |
I Have this problem and honestly have no idea where or how to start this, can anyone give me an idea or help? [QUOTE]Write a JavaScript program to calculate the statistics of words in a web page. When running the program in a web page, the script should output all … | |
I have a small javascript app that lets the user enter in a name and a mark, then store it in a cookie. This works fine. I need it to now take the numbers from the cookie and calculate the mean and standard deviation. Code is this [CODE] <html> <head> … | |
hi all, I'm new to PHP and Java script, but would like to get som experience with em'. Im trying to make a search for a dropdown list, but it doesnt work? It is based heavily on this code [url]http://www.rgagnon.com/jsdetails/js-0089.html[/url] (wich works fine?) I have testet to see if the … | |
Plz Help Me In This Regard Am useing Ajax Control 1)ToolkitScriptManager1 2)AutoCompleteExtender i created web service as Follows Imports System.Web Imports System.Web.Services Imports System.Web.Services.Protocols Imports AjaxControlToolkit Imports System.Data.SqlClient <System.Web.Script.Services.ScriptService()> _ <WebService(Namespace:="http://tempuri.org/")> _ <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Public Class AutoComplete Inherits System.Web.Services.WebService Private ReadOnly Property ConnectionString() As String Get Return "Server=.\SQLEXPRESS;Database=testproj;Trusted_Connection=True" … | |
i cant seem to figure out how to get the computer to know even / odd numbers using it for a prime factors. not looking for someone to do it for me just need a nudge in the right direction create code that asks the user to supply an integer … | |
![]() | Hey everyone. :) I've been trying to find a goof file upload script for a while. No luck really. I operate an internet radio station, and frequently artists want to send me music for airplay consideration. I've been struggling along giving them FTP login information and letting them send files … |
Hello there, I'm loading some part of the page by Ajax, and in this part i have a slide toggle using the scriptaculous.js library, which don't work when I'm using Ajax. Is this normal, because checking the page code, it seems unchanged by the Ajax script? | |
Hi I have problem with span tag padding paroblem can I do fix it with css or javascript here is code which hard coded for left and right padding I have ad and <br /> I want programatic way to fix it with css or java script <!DOCTYPE html … | |
i have a form that has ajax working corectly on a spry tab with 2 enteries... but i wan the 2nd spry to be a distinct as well as the first one ... the first spry tab has company name dropdown that is pulling the information of the company owner … | |
i want to learn javascript, can anyone suggest me a book ? | |
Hi I ahve this code which is working on Chrome, Firefox and Safari But Its not working on IE Can any one help me <html> <script type="text/javascript" language="javascript"> function set_padd(){ var tt = document.getElementById("span_padding").innerHTML; var txt = new Array(); txt = tt.split("<br>"); var atxt = ''; for(var i = 1; … | |
I'm trying to replicate the function of the search on Yahoo Finance. [url]http://finance.yahoo.com[/url] The get quote search where you can start typing in the company name and it autocompletes it. I have it partially working at: [url]http://www.finif.com/teststream/search/[/url] Now I want to have it so once they click on the option … | |
Hi Guys, I'm in need of regular expression for validating the html tags that are closed properly, say for example <i>test content <b>see this </i> .. it should show an alert "tag is incorrect". Plz help me....Guys-:)-:) Thanks in advance | |
I need some help with what I think is probably javascript. I would the user of my website to click a link on a page and for some information to display on the page without a reload of the page. This is what I would like to happen in my … | |
Hi, In part of my form, I have 3 inputs (one textarea and two text inputs), I am validating their value format using AJAX (each input triggers error message on its label in case format is wrong). Also I have one button, "NOT submit button" (type = button). Now, when … | |
Presently in this below code, I have 4 dynamic values, end user will be select degree from combo box, entering the values semester, Max marks and Obtained marks as numeric values. Once entered dynamic rows will be created and it also calculate the percentage by the formula (om/mm)*100 for each … | |
[b]What works:[/b] I have an application running on a non-interactive kiosk that I need to keep updated with information that will be provided by a remote server. To do this, I've created an XMLHttpRequest/Microsoft.XMLHTTP object that checks the modified date in the header of a watched file that resides on … | |
Hi all, I understand that you cant disable a back button, but i do know I could open a new window, closing the window that instigated it. The following code does open a new window, but i want it to open a new tab. Also, its not closing the window … | |
The following javascript code does not work .Not able to figure out the reason.Cud anyone help plz [code=html] <html> <head> <title>AJAX RSS Reader</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <script language="javascript" type="text/javascript"> var RSSRequestObject = false; // XMLHttpRequest Object var Backend = 'http://www.google.fr/news?hl=en&ned=en&q=ajax&ie=UTF-8&output=rss'; // Backend url window.setInterval("update_timer()", 1200000); // update … | |
Hi all, im looking for some help with some javascript if thats ok. I am building a system for creating a booklet. I want the user to be able to select the quantity of booklets they require. (eg 50, 75, 100, 125) Then also select the number of pages each … | |
I am pretty sure this is easy to figure out, but I don't know javascript that good. I am trying to declare variables dynamically but what I have below does not work. What I want to accomplish is the following. var id1 = document.getElementById("sid").value; var id2 = document.getElementById("sid").value; var id3 … | |
i'm driving insane right now i have a form wich has a lot of stuff in it as you fill it, javascript generates the OPTIONS[] for four SELECT objects at the end of the form. they are generated right and i have no troubles up to this point until... i … | |
i've got a program that gets input from a user, and then stores it in a cookie. That bit is fine, what is a problem is that its just overwriting the data each time a new entry is made, i believed this to be something do do with it not … |
The End.