473,796 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dynamic button not working

I am generating a form dynamically through AJAX. The form and the data
come in very nicely, but my reset button doesn't do anything. There are
3 other buttons that call javascript functions - they work fine. Just
the reset button seems to be dead. The form is inserted into a Div
using AJAX. Here are my form details:

<form id="clientform " name="clientfor m">
<table>
<tr>
<td>Name:</td>
<td>
<input id="txtCompany " type="text" value="Company
Name" size="65" name="txtCompan y"/>
</td>
</tr>

.... some more labels and input text boxes.....

<input id="add" type="button" onclick="addThi sClient(1,4);" value="Add" name="add"/>
<input id="update" type="button" onclick="update ThisClient(1,4) ;" value="Update" name="update"/>
<input id="delete" type="button" onclick="delete ThisClient(1,4) ;" value="Delete" name="delete"/>
<input type="reset" value="Clear"/>
</table>
</form>

Can you see any reason why the reset button would be dead?

Tom
Jul 25 '07
22 1889
On Jul 27, 3:10 pm, Captain Paralytic <paul_laut...@y ahoo.comwrote:
On 27 Jul, 15:01, Webrickco <webric...@gmai l.comwrote:


On Jul 27, 9:51 am, Captain Paralytic <paul_laut...@y ahoo.comwrote:
On 26 Jul, 22:19, tomb <t...@technetce nter.comwrote:
Thank you to all who have tried to help me, sorry to have bothered all
of you. I just found that by generating values for all my text boxes in
the php code, the reset button has no effect. I guess this was actually
an HTML issue, like Rik said.
Tom
Rik and I were both trying to tell you where you needed to go to get
the answer and all you would do in your arrogance was moan that the
advice wasn't what you wanted.
I think an apology to Rik would be nice.
Next time someone is asking a question in a forum or a groups, you
have 2 solutions:
- You answer the question,
- You don't anwser the question.
If you choose to answer the question, which is noble from you to want
to help other persons, and which is by the way one of the 2 reasons
you are reading groups, you should put arrogance aside, and be
pragmatic in your answer (telling someone to post elsewhere is ok
since you also provide to his answer a trial to an adequate solution).
You will avoid answers like "What does this have to do with PHP? And
if you're planning to say
something like, "I'm using PHP to generate the HTML and Javascript"
don't even bother -- that's not the right answer.". This is NOT
constructive, and a bit insulting.
Respect these principle would have save this whole pointless
conversation, in which, i believe Tom might have think with reason:
"why the hell am i doing here?"
Additionaly and to my own concern, when i ask someone for his opinion
about something i've done, I except a few things:
First, that he respects my work and the principles i'm using to
achieve it. Like i said before there not only one good solution but
plenty of them depending on situations. Second, that the answer given
to my questions are arrogance free, so that i do not feel like a
complete idiot. And finally that the comments and advise that are
given remain as is, and free of subjective argumentation, which means,
avoid things like: "this sucks" or "this is not impressive".
By posting here, i was seeking for professional advise on my work. You
could have answered or not. Someone like Rik Rasmus decided to answer
me, regardless all principle declared before, which shows a complete
disrespect for other people's work. Someone like Rik Rasmus, in my
understanding, doesn't need apologies, and need to present some!
(sorry if i use someone else's post to answer part of my own concerns)

does this have anything to do with my post?

and what does "By posting here, i was seeking for professional advise
on my work.", mean?
Your post in this thread didn't ask for any advice?- Hide quoted text -

- Show quoted text -
Nothing to do with you... only someone had to remind some basic rules
of education should be respected.
By "By posting here, i was seeking for professional advise
on my work." i mean i've put a thread on this group and i felt
insulted by those i was seeking help from, just like Tom felt...

Jul 27 '07 #21
Rik
On Fri, 27 Jul 2007 16:01:03 +0200, Webrickco <we*******@gmai l.comwrote:
On Jul 27, 9:51 am, Captain Paralytic <paul_laut...@y ahoo.comwrote:
>On 26 Jul, 22:19, tomb <t...@technetce nter.comwrote:
Thank you to all who have tried to help me, sorry to have bothered all
of you. I just found that by generating values for all my text boxes
in
the php code, the reset button has no effect. I guess this was
actually
an HTML issue, like Rik said.
Tom

Rik and I were both trying to tell you where you needed to go to get
the answer and all you would do in your arrogance was moan that the
advice wasn't what you wanted.

I think an apology to Rik would be nice.
No need.
Next time someone is asking a question in a forum or a groups, you
have 2 solutions:
- You answer the question,
- You don't anwser the question.
3: You point out a better source on the web to get the question answered
>
If you choose to answer the question, which is noble from you to want
to help other persons, and which is by the way one of the 2 reasons
you are reading groups, you should put arrogance aside, and be
pragmatic in your answer (telling someone to post elsewhere is ok
since you also provide to his answer a trial to an adequate solution).

You will avoid answers like "What does this have to do with PHP? And
if you're planning to say
something like, "I'm using PHP to generate the HTML and Javascript"
don't even bother -- that's not the right answer.". This is NOT
constructive, and a bit insulting.
It might have been accompanied with 'You have better luck finding an
answer in alt.html or comp.infosystem s.www.authoring .html'.

--
Rik Wasmus
Jul 27 '07 #22
On 27 Jul, 15:16, Webrickco <webric...@gmai l.comwrote:
On Jul 27, 3:10 pm, Captain Paralytic <paul_laut...@y ahoo.comwrote:


On 27 Jul, 15:01, Webrickco <webric...@gmai l.comwrote:
On Jul 27, 9:51 am, Captain Paralytic <paul_laut...@y ahoo.comwrote:
On 26 Jul, 22:19, tomb <t...@technetce nter.comwrote:
Thank you to all who have tried to help me, sorry to have bothered all
of you. I just found that by generating values for all my text boxes in
the php code, the reset button has no effect. I guess this was actually
an HTML issue, like Rik said.
Tom
Rik and I were both trying to tell you where you needed to go to get
the answer and all you would do in your arrogance was moan that the
advice wasn't what you wanted.
I think an apology to Rik would be nice.
Next time someone is asking a question in a forum or a groups, you
have 2 solutions:
- You answer the question,
- You don't anwser the question.
If you choose to answer the question, which is noble from you to want
to help other persons, and which is by the way one of the 2 reasons
you are reading groups, you should put arrogance aside, and be
pragmatic in your answer (telling someone to post elsewhere is ok
since you also provide to his answer a trial to an adequate solution).
You will avoid answers like "What does this have to do with PHP? And
if you're planning to say
something like, "I'm using PHP to generate the HTML and Javascript"
don't even bother -- that's not the right answer.". This is NOT
constructive, and a bit insulting.
Respect these principle would have save this whole pointless
conversation, in which, i believe Tom might have think with reason:
"why the hell am i doing here?"
Additionaly and to my own concern, when i ask someone for his opinion
about something i've done, I except a few things:
First, that he respects my work and the principles i'm using to
achieve it. Like i said before there not only one good solution but
plenty of them depending on situations. Second, that the answer given
to my questions are arrogance free, so that i do not feel like a
complete idiot. And finally that the comments and advise that are
given remain as is, and free of subjective argumentation, which means,
avoid things like: "this sucks" or "this is not impressive".
By posting here, i was seeking for professional advise on my work. You
could have answered or not. Someone like Rik Rasmus decided to answer
me, regardless all principle declared before, which shows a complete
disrespect for other people's work. Someone like Rik Rasmus, in my
understanding, doesn't need apologies, and need to present some!
(sorry if i use someone else's post to answer part of my own concerns)
does this have anything to do with my post?
and what does "By posting here, i was seeking for professional advise
on my work.", mean?
Your post in this thread didn't ask for any advice?- Hide quoted text -
- Show quoted text -

Nothing to do with you... only someone had to remind some basic rules
of education should be respected.
By "By posting here, i was seeking for professional advise
on my work." i mean i've put a thread on this group and i felt
insulted by those i was seeking help from, just like Tom felt...- Hide quoted text -

- Show quoted text -
Oh. But you should really try to respect these groups.

I and others give up a lot of time to try to assist you and others.

Appending a post to a thread and also quoting from my post suggests
that your comment is related to my post.

If you want to get good advice, try to follow nettiquette and general
good manners and help keep these groups clean so that all may benefit.

Anyone can make a mistake. I myself just posted a question on this
group which I should have been able to answer myself.

Making a misake is not a problem. However when helpful folks offer
sound advice about where the poster can get the best advice and
explain why this is not the corrct place, good manners would suggest
being grateful for that advice and not being downright sarcastic and
shooting the messenger.

All too often I see people with very little knowledge asking for
advice and then arguing the toss because the answer was not what they
expected.

Jul 27 '07 #23

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
17679
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to Create a Dynamic Crosstab Report PRODUCT :Microsoft Access PROD/VER:1.00 1.10 OPER/SYS:WINDOWS
3
6832
by: MikeY | last post by:
Hi Everyone, I am working in C#, windows forms.My question is this. All my button dynamic controls properties are present and accounted for except for the"FlatStyle" properties. I can't seem to figure out, if there is a way of using polymorphic way (if that is a word) of doing this particular property. A sample of my code is as follows: DynamicControls.ButtonControl(this,btnSearchByName, new Point(5, 75), new Size(95, 20),...
1
7588
by: Shourie | last post by:
I've noticed that none of the child controls events are firing for the first time from the dynamic user control. Here is the event cycle. 1) MainPage_load 2) User control1_Load user clicks a dropdown in UC1 _________________________ 1) MainPage_Load 2) User Control_1 Load
4
3314
by: Venus | last post by:
Hello, Thanks for your reply. I understand that a control can be created dynamically in several ways: 1) using StringBuilder 2) using Controls.Add 3) using ASP PlaceHolder But this is just for the controls and not for the form itself. What I am trying to achieve is to create an entire form (including controls)
0
1493
by: Venus | last post by:
Hello, After trying some ways to do it I wanted to use something like the code below but for some reason is not working (I have to generate the entire form dynamically (not only the controls)): Can anyone make any suggestions on how to do it ? Thanks
3
13755
by: NateDawg | last post by:
I'm reposting this. I'm kinda in a bind untill i get this figured out, so if anyone has some input it would sure help me out. Ok, I’ve noticed a few gridview problems floating around the forum. Everyone wants to do a java confirmation box when a user clicks the delete button. Fair enough, basic user design rules state that you should always confirm a delete action. There is also a consensus that the best way to do this is a template...
3
5401
polymorphic
by: polymorphic | last post by:
I have succeeded in embedding PDF files in a dynamic iframe. The problem is that I need the PDF to cache. If the PDF remains the same from page load to page load then the pdf is somehow cached with the html page. But if I try to navigate to another pdf in the IFRAME then no caching occurs. Is the problem in the IFRAME reloading instead of just refreshing the pdf? <SCRIPT type="text/javascript"> var pageNo; var nav; var iframe; var...
3
18720
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however, working with complex reports is tricky Assumption: Reader of this article have basic knowledge of creating data reports. Creating a Parent-Child Command and create a DataReport Suppose we have a database called company with two tables ...
1
4662
by: MaryamSh | last post by:
Hi, I am creating a Dynamic Search in my application. I create a user control and in Page_load event I create a dynamic dropdownlist and 2 dynamic button (Add,Remove) By pressing Add button ,another row will be created with the same control (I mean another dropdown and 2 button) and so on. and by pressing Remove button the selecetd row will be removed. I used viewstate to keep my value for postback, I want by changing selectedvalue of...
0
3502
by: MaryamSh | last post by:
Create Dynamic Dropdownlist Controls and related event -------------------------------------------------------------------------------- Hi, I am creating a Dynamic Search in my application. I create a user control and in Page_load event I create a dynamic dropdownlist and 2 dynamic button (Add,Remove) By pressing Add button ,another row will be created with the same control (I mean another dropdown and 2 button) and so on. and by...
0
9683
marktang
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...
0
9529
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,...
0
10457
Oralloy
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...
1
10176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10013
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5443
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...
2
3733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2927
bsmnconsultancy
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...

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.