15,700 Topics
![]() | |
Hi, i am making a website which prove a sudoku interactive game that enables users to play it. the game data is in the form of database and have the following field: +-----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+--------------+------+-----+---------+----------------+ | game_no | … | |
Hello. I'm wondering if anyone has knowledge or a code that will refresh a script without a full page load. Just a widget/box on a site. What I have is a script which displays random posts in wordpress. Just calls 5 posts from the database with a simple random call. … ![]() | |
After searching I've found how to make an onload alert box when the page loads. However what I want to do is 1. When user goes to page the alert box/pop loads w/o the page, just an alert box. 2. Once the user clicks on OK, the page loads. | |
Hello, I'm trying to write some javascript that will always allow me to float content over a flah player. To do this, the <object> tag needs to have a <param> tag added to set the wmode to transparent, and the <embed> tag needs to have the wmode attribute set to … | |
I want to implement JavaScript Internationalization. However, JavaScript does not have the property file mechanism (which is available in Java). I am thinking of using the Java property file mechanism in Javascript. Is it possible? I had implemented Java Internationalization with the Spring framework message. e.g. [CODE]<spring:message code="menu.administration"/>[/CODE] How do … | |
When values are entered into 2 TextBox's(textbox1 & textbox2) they are multiplied with one another and the answer is displayd in a Label(label1), I need to add all the labels and display it in another label, this has to be don without buttons. When the TextBox's change this function is … | |
Hello All, I am a new Ajax learner... i am trying to do one simple script to handle the following.. Adding, deletion and modification of records in one mysql table using php and Ajax. I have created following code so far... if anyone could lead me to a better simple … | |
I have an iframe that is used to retrieve information from a mysql db after that page loads. However, javascript cannot access the frame after the form inside of it has been submitted once. The pages are on the same domain, my localhost, even the same folder, but I get … | |
I'm attempting to use the activeSlide class in the Cycle plugin, but I can't seem to get it to work properly using existing markup for the pager. This is the code that I started with, and it works just fine (thanks to pritaeas.net): [CODE]<style type="text/css"> #nav { margin: 5px; } … | |
I know how to work with php, mysql. I know enough to get results with CSS. I am now trying to incorporate some javascript and dhtml into my work. But what I want to do is a little more involved that the simple tutorials. i am using ixedit to help … | |
Is there a way, in Javascript, to get a list of files in a folder (on a server) that I can dynamically load into an array that I can work with when a page loads? | |
Hi there. I have a HTML page with multiple dynamic check boxes that I select, click "add" and it adds a list to the users on the next page. This is my JavaScript function that deals with this: [CODE] <script language="Javascript"> function doSelect() { //to avoid "unidentified" results, search elements … | |
Hi, It is kind of difficult to explain what I am trying to do here, I will provide the form here to give a better idea. [CODE]<ul> <li>Select the type of your starting point of interest:<br/> <div id="start_menu"><form action="test_getrss.php" name="form1" method="post"> <span><input type="radio" value="Apartment" name="start" onclick="check(document.form1.start)"/> Apartment </span> <span><input type="radio" … | |
Hi Guys... me and my partner has a problem regarding printing a web page. We only wanted to print the body or one part of the page that we really need - a form to be exact. We were able to find codes with the help of Google but this … | |
Dear all, i have project for invoice system. i use in this project php,mysql,html,javascript first mysql table's Products: id,name,price billing: id,products,total_price now i have create php file with tables to get all product from products db to show in invoice file javascript [CODE] <script type="text/javascript"> function toogle(element){ var c = … | |
Can anyone please explain for developing rich internet applications which one of these two technologies (Flash VS jQuery) is better to use based on criteria such as "Pros and Cons or situations" and why? Please explain in details, it is very confusing. Thank you. | |
How do i call a vb subroutine from a javascript function? in my code i want to verify if the field is filled or not.if its left black a message pops up but if it is filled it should proceed to submit the form or run the background vb subroutine. … | |
I'm trying to append a function to the body tag's onload event... [CODE]<body onload="Do_This();"...> ... ... <script....> document.body.onload =+ " And_This();"; alert(document.body.onload); </script>[/CODE] The alert reports "undefinedDo_This();". The Do_This() function does load (and run) but I want both funcions to run on the onload event. The body tag is in … ![]() | |
Hi all... I've been teaching myself PHP and MySQL for the past few weeks so I'm pretty new at it. But this question has more to do with javascript (which I have been using for some time) than it does PHP. I am letting the user enter a date into … | |
I have a selection box that allows me to select muliple items. I'm trying to use the click event handler to send an array of multiple selections back to the server using the $.ajax function and I'm having some issues. Please help. Below is my html, javascript code, and PHP … | |
Just gathering general idea here... let's say I have a table "Names" with a field "name" --> bob, and tom (2 records) I want the ajax/php page to pull out all the names. which would be bob and tom. And then if my database got updated at the backend (ex: … | |
code function javascript to swapimage(img1) var str1 = new String(img1); var text = document.getElementById('<%=TextBox1.ClientID %>'); var arr = new Array(); arr = str1.split('/'); document.getElementById(textvalue).src = str1; document.getElementById('<%=addProductImage.ClientID %>').src = "Images/ProductImages/thumb_" + arr[arr.length - 1]; document.getElementById('needToChange').href = str1; question is .. when page load appear problem which is say htmlfile: Invalid … | |
i have tobind sql table to dropdownlist using javascript. thanks in advance ![]() | |
i have tobind sql table to dropdownlist using javascript. thanks in advance | |
Hi, I have have the following code on an aspx page. The code I am trying to create is to display whther a checkbox when it is is clicked on. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> [CODE]<script> $(document).ready(function() { $("input[title$='HalfDay']").click(function() { if ([title$='HalfDay'].checked) { alert("Checked"); } else { alert("Not Checked"); } }); }); … | |
Hey, I have put the following code into a sharepoint aspx page. So that when I change the value in a drop down box it runs a function (in this case it displays "Works"). [icode]<script language="javascript" type="text/javascript"> function getField(fieldType,fieldTitle) { var docTags = document.getElementsByTagName(fieldType); for (var i=0; i < docTags.length; … | |
1.i have one dropdownlist for state names. 2. i have one button named refreshbtn1. i write function onClientClick for this button as function refreshing() { location.reload(); } when i select item from DDL & click button then Page refresh occured SO my problem is.... I NEED same index/Item/value of DDL … | |
1.i have one dropdownlist for state names. 2. i have one button named refreshbtn1. i write function onClientClick for this button as function refreshing() { location.reload(); } when i select item from DDL & click button then Page refresh occured SO my problem is.... I NEED same index/Item/value of DDL … | |
Hi to all, I have to highlight the search terms in the text area. I have one text Filed,search Button and text area. [QUOTE]After i have enter the search string in the text field whenever i click the search button it highlight the search terms which is available in the … | |
Hi, i am making a website which prove a sudoku interactive game that enables users to play it. the game data is in the form of database and have the following field: +-----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+--------------+------+-----+---------+----------------+ | game_no | … | |
Hi friend, I want passing the selected text from list into text. i dont know how to do nu. I attached screenshot with this thread. if you can say to me. Thanks...... | |
Hi, I have the following J.s and Html code: [code] //function for mandatory function validatebox(field,alerttxt) { with (field) { if (value==null||value==""||value=="Please Choose") { alert(alerttxt); return false; } else { return true; } } } function validate_form(thisform) { with (thisform) { if (validatebox(Givname,"Given name must be filled out!")==false) { Givname.focus(); return … | |
Hi, I would like to have some rotating sequential images on my home page of my website. I do not know how to do this and have found code on the internet for only displaying random images. The main problem is this. Every time the page loads I get a … ![]() | |
I'm trying to make a basic online javascript calculator. I've got the css/html down, and I've created my own images in paint! Only problem is that, when you click the calculate button it says "NaN" for the result for everything i try, and when I do the delete last character … ![]() | |
How to download a pdf link? suppose we have a pdf url (like "http://images.apple.com/support/itunes_u/docs/iTunes_U_User_Guide.pdf") now i have to create a button on click of which it downloads that pdf. i have tried window.open() method in javascript but it opens it in another window. is there a way to download a … | |
I have an iframe that is used to access the server so the entire page doesn't reload. The frame works great the first time but after the frame has preformed the query and reloaded, if the script tries to access the frame, I get a "permission denied" error. [CODE]server = … | |
Hi guys, I'm still a newbie in javascript so i ask for a bit of your patience. hehe. So here is my problem with showmodaldialog. It only occurs in IE. I basically have 2 php pages. One is produst_list.php, and the other is quantify.php. product_list.php basically calls the quantify.php page … | |
i have two id's that are the same from two different table. [code] var newtext = document.getElementById(number).innerHTML;[/code] this code is grabbing the wrong id. the id is a counter/variable in a loop so it changes, so i can't do getElementByName.. how do i get around this? | |
if anyone can help save me a ton of work, as I'm an amature to js... I need a brstm audio player that can be pasted onto a page (blog) I'm kinda hoping for something simple to where you can just post a dl link above it and click play. … | |
I want to select the last record from thousands of records, how to write the SQL query for that. | |
Hello I have a jsp document,and a java class with some functions,i want that a button that located in the jsp document,will execute a function from the java call on click. but i don't really know how to do it,and i am stuck on it for a week now. If … | |
It is a simple one and a more complex one will be here soon this code has not been tested but it works well on IE 6.0+ Do enjoy and Comment it Please | |
On my site I have a page that uses a flash button to play an mp3. I want to keep track of how many times this button is pushed for plays (it also stops the song - dual use button). I have a field in the table for the individual … | |
[CODE]<script type ="text/javascript"> function noback() { window.history.forward() } noback() window.onload=noback; window.onpageshow=function(evt) { if(evt.persisted) nocack() } window.onunload=function() { void(0) } </script>[/CODE] | |
I'm learning JavaScript for software that I'm learning it's SDK. I have a weak understanding of programming and because of that I would like to know the basic JavaScript foundation when coding that applies to no matter what your scripting in this language. A Anyone have any guidelines PDF or … | |
Hi to all, I am new to java script.I want to highlight the search terms in text area.I want to do this by using regular expression.When eve i give the value to regular expression directly it works well.But if i give it frim variable it doesn't work well.My code is … | |
Hi guys, I am using this tutorial: [url]http://www.w3schools.com/ajax/tryit....=tryajax_first[/url] where if you click a button, the the content of my div container is replaced with a message saying thank you for your submission. However, you cannot assign this to a submit button as it just ends up refreshing the page. I … | |
hi.can anyone give some suggestion on this? I need to do for a system that calculate the marks. At first, I had created the radio buttons and textboxes for user to insert the marks, but it seems not so user friendly. So I decide to change them into automatically calculate … | |
Dear viewer, I've got a database with the tables Category, Subcategory and Products. I've been able to get this far; Click on category -> shows the subcategories for that category Click on subcategory -> shows all products for that subcategory Now I've been looking around how to do it in … |
The End.