473,378 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

maintaining data..!!!

102 100+
i am dealing with a page with many input data...

if part = "" then
response.redirect("stupid.asp?res=blank")

just because of one data missing... all my previous key in data were gone...!!!!

is it needed to pass under response.redirect("stupid.asp?part=" &a& "image="&b& "res=blank") ????? but a lot of data.. can pass until die...

--------------------------------------------------------------------------
here is the 2nd question

i have plenty of textbox containing the data... when the user update some of the textbox... how can i change the textbox become yellow to show that the data in that textbox has been updated... pls help..thanks

i have tried style"background-color:red"..but nothing come out
Jun 20 '07 #1
3 969
shoonya
161 100+
for your 2nd question
Expand|Select|Wrap|Line Numbers
  1. function foo(){
  2. document.getElementById('test').className='input2'
  3. }
  4.  
  5. </script>
  6. <style type=text/css>
  7. .input {background: #ff2345; }
  8. .input2 {background: #987654; }
  9.  
  10. </style>
  11.  
  12.  
  13. <input class=input id=test type=text>
  14. <a href=javascript:foo()>click here</a>
  15.  
check out this
it works

shoonya
Jun 20 '07 #2
lyealain
102 100+
for your 2nd question
Expand|Select|Wrap|Line Numbers
  1. function foo(){
  2. document.getElementById('test').className='input2'
  3. }
  4.  
  5. </script>
  6. <style type=text/css>
  7. .input {background: #ff2345; }
  8. .input2 {background: #987654; }
  9.  
  10. </style>
  11.  
  12.  
  13. <input class=input id=test type=text>
  14. <a href=javascript:foo()>click here</a>
  15.  
check out this
it works

shoonya

----------------------------------------------------------------------------
but let say i have 100 textbox and i update 10 out of that ... how do i display those only updated textbox with color??...thanks
Jun 20 '07 #3
shoonya
161 100+
okk

i just gave ab example man
just insert a piece of code
Expand|Select|Wrap|Line Numbers
  1. <input type=text onmouseover=javascipt:swap(this) onmouseout=javascript:swap(this)>
  2.  
  3. <input type=text onmouseover=javascipt:swap(this) onmouseout=javascript:swap(this)>
  4.  
  5. <input type=text onmouseover=javascipt:swap(this) onmouseout=javascript:swap(this)>
  6.  
  7. <script>
  8. function swap(obj){
  9. change the class name
  10. }
  11.  
  12. </script>
this code changes the class when ever a mouse enters or leaves the text box
similarly make a code to swap class when the

Expand|Select|Wrap|Line Numbers
  1. document.form_name.input_name.value!=""
shoonya
Jun 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: lost hope | last post by:
hey guys, on the main page of my site, i have a login area (user/pass text boxes). when the user submits the form, the page is reloaded with with a global php variable "loggedIn" set to true. i...
0
by: Dinesh Upare | last post by:
Hi, I want to fire events of Datatgrid without maintaining the view state. If I disable the ViewState then the events are not fired. The reason I don't want to maintain view state is because its...
2
by: Jason | last post by:
I have a datagrid inside a user control. I use the itemcreated event to manipulate column values. I then add those values up and place the total in the footer of the datagrid. I have wrapped the...
27
by: Raymond | last post by:
They say it's easier, but has anyone tried maintaining an ASP.NET site without the source code of the dlls? This was not a problem with classic ASP, all the code was almost always just in text...
7
by: John Pote | last post by:
Hello, help/advice appreciated. Background: I am writing some web scripts in python to receive small amounts of data from remote sensors and store the data in a file. 50 to 100 bytes every 5 or...
0
by: mark.norgate | last post by:
Hi I'm having a problem in adding controls to a page programmatically in response to a button click. Composite user controls added programmatically in the CreateChildControls() method work...
4
by: Sam | last post by:
I have an asp.net 2.0 app that uses a sitemap, Master Page, and has several content pages. While this feature has simplified the process of creating a data-driven site menu, it does seem to have...
2
by: aswin.paranji | last post by:
Hi All, Currently I'm working on a migration project from asp to asp.net. I use a tool asp2aspx to migrate the asp pages. the problem is when i migrate to asp.net 2.0 i'm getting lots of...
7
by: Nathan Sokalski | last post by:
I have a page which I dynamically add several usercontrols (*.ascx files) to using the following code: Public Sub Refresh() For Each section As DataRow In Me.GetSections().Rows...
16
rpnew
by: rpnew | last post by:
Hello friends.... I'm developing one project in PHP-MySql on FC4..... I'm facing a problem here at one place. Let me describe it.... I've one page in php on which i'm generating a table...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.