15,698 Topics

Member Avatar for
Member Avatar for Mohandsa

[I][B]please,help me i want to convert date(string) to date (date time), this date i make setting for day with one (constant)[/B][/I] [I][B]to use it in database i write in html [/B][/I] <html> <head> <SCRIPT type="text/javascript"> function startDate() { var d=new Date() var y=d.getYear() var m=d.getMonth()+1 var day=1 var date=m+"/"+day+"/"+y document.write("date …

Member Avatar for ehassen
0
222
Member Avatar for rnr8

Hi, I'm trying to change a background image used within a list <li>, yet have only been able to get this to work in IE and not Firefox. Please tell me what is wrong with this code: (Note: I have tried using style.backgroundImage yet that did not work in IE …

Member Avatar for JScriptRUs
0
716
Member Avatar for niths

hi all, i am having a php page where we can upload and download files.Those files which are uploaded will be displayed in a table on the same page,for that i need to refresh page.So i used [CODE]<meta http-equiv="refresh" content="3">[/CODE] but it is refreshing for every 3 seconds. That causes …

Member Avatar for sergb
0
82
Member Avatar for kiranbvsn

Hi, I am new to ajax, but i want to learn cause it is used in our project.. So, here is my query, i am using .net 3.5 framework i've one dropdownlist and textbox controls in aspx page for dropdown: 1,2,3,4 (are the values in column1 in database table that …

Member Avatar for Rana Sameer
0
95
Member Avatar for Nilgems

Using javascript, I want generate buttons and textboxes dynamically depending on selection from dropdown. Use asp.net with c# languasge. I will try using above code.But not solved the purpose.Please suggest.[code]<head runat="server"> <title>Dynamically add Text Box and Button</title> <script language="javascript" type="text/javascript"> function add(type) { for(i=0;i<10;i++) { var element=document.createElement("input"); element.setAttribute("type", type); element.setAttribute("value", …

Member Avatar for fxm
-1
241
Member Avatar for scaiferw

I'm pulling my hair out trying to find a checkbox check-all toggle script that will pass an array of selected to my server side PHP script. I really want a master checkbox that serves as a select-all/deselect-all control. I've looked at countless examples online, and the closest I can find …

Member Avatar for scaiferw
0
139
Member Avatar for ayesha789

I want this form as lightbox form. Is it possible. [CODE]<form action="lims_updated_north.php" method="post"> <table class="mytable" align="center"> <tr> <td>Code</td> <td> <input type="text" name="al" id="al" value="<?php echo $al; ?>" /> </td> <td>Owner Name</td> <td> <input type="text" name="cd" id="cd" value="<?php echo $cd; ?>" /> </td></tr> <tr> <td>Mobile</td> <td> <input type="text" name="nid" id="nid" value="<?php …

Member Avatar for Graphix
0
187
Member Avatar for zkelvin2010

Write a program that creates a text file that contains a power of two table in HTML format. The file could be called "twoPowerTable.html". When it is viewed with a browser you will see something like: Power of 2 Value 0 1 1 2 2 4 3 8 4 16 …

Member Avatar for rajarajan2017
0
232
Member Avatar for wewehalim

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 | …

Member Avatar for wewehalim
0
115
Member Avatar for ghoststick

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. …

Member Avatar for rajarajan2017
0
123
Member Avatar for genki01

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.

Member Avatar for scrappedcola
0
114
Member Avatar for 2eXtreme

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 …

Member Avatar for shastry_1985
0
457
Member Avatar for albertkao

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 …

0
66
Member Avatar for jellybeannn

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 …

Member Avatar for jellybeannn
0
82
Member Avatar for ahmadzz

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 …

0
65
Member Avatar for MDCS
Member Avatar for cloud09

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 …

0
56
Member Avatar for DTOXX

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; } …

0
87
Member Avatar for jj.amonit

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 …

Member Avatar for jj.amonit
0
238
Member Avatar for ms_sws

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?

Member Avatar for ms_sws
0
3K
Member Avatar for Jeca

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 …

Member Avatar for fxm
0
114
Member Avatar for ajwei810192

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" …

Member Avatar for Graphix
0
133
Member Avatar for raq_0619

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 …

Member Avatar for fxm
0
423
Member Avatar for WaleedaaN

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 = …

0
48
Member Avatar for u74

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.

Member Avatar for raju.kona
1
116
Member Avatar for gabrielmusa

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. …

Member Avatar for gabrielmusa
0
645
Member Avatar for NimbusSoftware

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 …

Member Avatar for rajarajan2017
0
447
Member Avatar for vwdmt

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 …

Member Avatar for cloud09
0
173
Member Avatar for Chad Gary

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 …

Member Avatar for Chad Gary
0
1K
Member Avatar for k2k

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: …

Member Avatar for sergb
0
2K

The End.