hi.
Is there any body to help me?
I am writing a web program.
I have some forms.
each form have some controls and users can edit the controls.
finally they can save their forms.
I would like to add an ability to my program.
In fact I want to have an Icon that change, when a user change the
value of a control of form such as textbox , radiobox, grid.
as you know the most famous and important editors such as PSPAD or
MSWORD have this ability.
I want to write my code with javascript and I wouldn't like to work
with the server.
In fact all the story happen at the clients side.
I think that checking the Control's value with values of Database or a
copy of database that exist in memory in the specific time is not a
good way. 5 1885
On Jun 20, 5:19 pm, raha <bighamor...@gm ail.comwrote:
hi.
Is there any body to help me?
I am writing a web program.
I have some forms.
each form have some controls and users can edit the controls.
finally they can save their forms.
I would like to add an ability to my program.
In fact I want to have an Icon that change, when a user change the
value of a control of form such as textbox , radiobox, grid.
as you know the most famous and important editors such as PSPAD or
MSWORD have this ability.
I want to write my code with javascript and I wouldn't like to work
with the server.
In fact all the story happen at the clients side.
I think that checking the Control's value with values of Database or a
copy of database that exist in memory in the specific time is not a
good way.
Maybe using the onchange event on the inputs?
Darko said the following on 6/20/2007 1:58 PM:
On Jun 20, 5:19 pm, raha <bighamor...@gm ail.comwrote:
>hi. Is there any body to help me? I am writing a web program. I have some forms. each form have some controls and users can edit the controls. finally they can save their forms. I would like to add an ability to my program. In fact I want to have an Icon that change, when a user change the value of a control of form such as textbox , radiobox, grid. as you know the most famous and important editors such as PSPAD or MSWORD have this ability. I want to write my code with javascript and I wouldn't like to work with the server. In fact all the story happen at the clients side. I think that checking the Control's value with values of Database or a copy of database that exist in memory in the specific time is not a good way.
Maybe using the onchange event on the inputs?
That won't satisfy the desire though. If an input starts with a value of
"Default Value" and I manually change it to "Manual Value", then I
change my mind and type in "Default Value", did the value of the input
change? defaultValue is the property wanted to check against, not simply
that the value has changed.
onchange="if(th is.value!=this. defaultValue){c hangeTheIcon('c hanged'}else{ch angeTheIcon('de fault')}"
And then have changeTheIcon change the icon dependent on the parameter
passed to it.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
On Jun 20, 11:41 pm, Randy Webb <HikksNotAtH... @aol.comwrote:
Darko said the following on 6/20/2007 1:58 PM:
On Jun 20, 5:19 pm, raha <bighamor...@gm ail.comwrote:
hi.
Is there any body to help me?
I am writing a web program.
I have some forms.
each form have some controls and users can edit the controls.
finally they can save their forms.
I would like to add an ability to my program.
In fact I want to have an Icon that change, when a user change the
value of a control of form such as textbox , radiobox, grid.
as you know the most famous and important editors such as PSPAD or
MSWORD have this ability.
I want to write my code with javascript and I wouldn't like to work
with the server.
In fact all the story happen at the clients side.
I think that checking the Control's value with values of Database or a
copy of database that exist in memory in the specific time is not a
good way.
Maybe using the onchange event on the inputs?
That won't satisfy the desire though. If an input starts with a value of
"Default Value" and I manually change it to "Manual Value", then I
change my mind and type in "Default Value", did the value of the input
change? defaultValue is the property wanted to check against, not simply
that the value has changed.
onchange="if(th is.value!=this. defaultValue){c hangeTheIcon('c hanged'}else{ch angeTheIcon('de fault')}"
And then have changeTheIcon change the icon dependent on the parameter
passed to it.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptT oolbox.com/bestpractices/
And if you open MS Word and find the text "Default text" and then you
change it to "Modified text" and then manually back to "Default text"
do you think it will consider the document modified or not?
Darko said the following on 6/21/2007 11:15 AM:
On Jun 20, 11:41 pm, Randy Webb <HikksNotAtH... @aol.comwrote:
>Darko said the following on 6/20/2007 1:58 PM:
>>On Jun 20, 5:19 pm, raha <bighamor...@gm ail.comwrote: hi. Is there any body to help me? I am writing a web program. I have some forms. each form have some controls and users can edit the controls. finally they can save their forms. I would like to add an ability to my program. In fact I want to have an Icon that change, when a user change the value of a control of form such as textbox , radiobox, grid. as you know the most famous and important editors such as PSPAD or MSWORD have this ability. I want to write my code with javascript and I wouldn't like to work with the server. In fact all the story happen at the clients side. I think that checking the Control's value with values of Database or a copy of database that exist in memory in the specific time is not a good way. Maybe using the onchange event on the inputs?
That won't satisfy the desire though. If an input starts with a value of "Default Value" and I manually change it to "Manual Value", then I change my mind and type in "Default Value", did the value of the input change? defaultValue is the property wanted to check against, not simply that the value has changed.
onchange="if(t his.value!=this .defaultValue){ changeTheIcon(' changed'}else{c hangeTheIcon('d efault')}"
And then have changeTheIcon change the icon dependent on the parameter passed to it.
And if you open MS Word and find the text "Default text" and then you
change it to "Modified text" and then manually back to "Default text"
do you think it will consider the document modified or not?
Let me think on this one for a minute and consider a few things:
1) This is a Javascript Newsgroup
2) This newsgroup has nothing to do with MS Word.
3) I don't use MS Word, I use a real Word Processor.
4) What happens in Word has nothing to do with what happens in a browser
unless you are trying to emulate it.
5) I didn't change my mind after thinking about it, I still don't care
what MS Word does. If you want to know if a field has changed from it's
default value then onchange alone will not suffice.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
On Jun 21, 6:25 pm, Randy Webb <HikksNotAtH... @aol.comwrote:
Let me think on this one for a minute and consider a few things:
1) This is a Javascript Newsgroup
2) This newsgroup has nothing to do with MS Word.
3) I don't use MS Word, I use a real Word Processor.
4) What happens in Word has nothing to do with what happens in a browser
unless you are trying to emulate it.
5) I didn't change my mind after thinking about it, I still don't care
what MS Word does. If you want to know if a field has changed from it's
default value then onchange alone will not suffice.
On Jun 20, 5:19 pm, raha <bighamor...@gm ail.comwrote:
In fact I want to have an Icon that change, when a user change the
value of a control of form such as textbox , radiobox, grid.
as you know the most famous and important editors such as PSPAD or
MSWORD have this ability.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Marc Castrechini |
last post by:
I have a page that changes an <ASP:Checkbox value based on a user entered
value in a textboxm using client side Javascript.
After my submit is fired the value for the chkMyCB.checked does not get the
latest value of the checkbox.
Does this sound like a posibility and if so how can I force the server to
get the new value from the page?
TIA,
|
by: Ptaku25 |
last post by:
How to catch whole line in the PDF document using javascript?
or How to recognize/catch whitespace signs (e.g. "\n" ) in PDF document
Which method I should use?
Or any other possibility are ?
Regards,
Piotrek
|
by: Krish |
last post by:
Hi,
I am using table control to create table/cell & 2 text box & one image
button during runtime. Onclick event of image button i would like to
validate if there is any value in either of text boxes, but my intellisense
will not recognize those textboxes created during runtime. How to overcome
this issue. Pl. help.
protected void Page_Load(object sender, EventArgs e)
|
by: richardscheff |
last post by:
Video selector works for IE but not other browsers.
for not IE
<object ID='Player' data="video/dodgeball.wmv" type="video/x-ms-wmv"
width="320" height="280">
<param name="filename" value="video/dodgeball.wmv" />
<param name="ShowControls\" value="1" />
<param name="AutoStart\" value="1" />
<param name="PlayCount\" value="1" />
|
by: Erland |
last post by:
Hello everyone,
I am have couple of bad concepts and would like to clear things up. As
I understand ASP.NET server controls contain runat=server tag and they
only run on the server. But I've just seen an example where javascript
can access server side controls. Now javascript is about all things
CLIENT, so how can I access server controls from my javascript, here is
one such example
<%@ Page Language="C#" AutoEventWireup="tue"...
| |
by: Jo Claes |
last post by:
Hi,
A friend asked me if i could help him building a lilttle website.
Having 10 years of proffessional experiance in writing "non-webbased" code i
thought that will not be that hard.
I think here it went wrong.
The only thing he want to do is integrating an external provided iframe into
his website and make that multilingual using some little flags that he puts
|
by: SeanBoyWalton |
last post by:
Hi,
I'm currently trying to build a website for a DJ friend of mine and I have come stuck with a couple of issues.
I've searched everywhere and put some code together but I still have problems.
I want to be able to map controls of the media player to images on the page
ie - when user clicks play image - song plays. I can currently get it working in IE but I can't get it to work in Firefox.
Problems:
1. The buttons (image buttons)...
|
by: Jeremy J Starcher |
last post by:
(Request for Discussion)
I've put together a guide that I hope will help novice coders avoid the
same hair pulling that I went through.
I'm open for comments about it.
Have I missed the mark on a point or two?
Have I overlooked something?
Is my basic goal flawed? Is code bad in so many different ways that I
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |