close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Losing My Mind

Thread began 11/28/2017 4:02 pm by vernon webb | Last modified 2/06/2018 1:14 pm by Ray Borduin | 203 views | 24 replies |

vernon webb

Losing My Mind

I think I'm going insane here as I am using dynamic drop downs on this page:

http://rsavvy.com/time/times_Search_2017.php

I did it some time back so at a lose.
If you notice the Client Status you can see that Active is selected which automatically populates the "Client Company" below. And if you change the Client Status it changes. All works great. BUT HOW? There is no onchange event on the drop down and there is nothing attached to the body tag either for onload, so for the life of me I can't figure out how the heck I did this!

Please help!

Sign in to reply to this post

Ray BorduinWebAssist

It looks like I need login information to see the page you are talking about.

Sign in to reply to this post

vernon webb

UGH. Thought I removed that! Sorry, it is removed.
The reason I am trying to find this as I need to change the way this function works. Currently it is another ACTIVE or INACTIVE but I need to add an option that is ALL (loading all records), so I was thinking that if the page loaded with everything (essentially ALL) and only if the user changes the active/inactive option then it will load either. Thoughts?

Sign in to reply to this post

Ray BorduinWebAssist

In your redeye.js file you have:

$('#clientStatus').change(function () {
populateClients();
}).trigger('change');

that adds the onchange event. That list isn't using our dynamic dropdowns.

Sign in to reply to this post

vernon webb

Ah! They use another guy, he must have done this! Perhaps I'll rip it out and use the dynamic dropdowns? Unless you can tell me easily how to make that change.

Sign in to reply to this post

Ray BorduinWebAssist

I think any solution you can get working is the right one. You could probably update the code you have and just add a "select status" option to the top of the list and update the javascript code. Adding another Dynamic Dropdown would work, but might actually be more complex. These days I don't use dynamic dropdowns. If I want a dynamic dropdown I use WebAssist Plugins and AJAX, but rewriting all of it might be overkill.

I'm probably going to remove the Dynamic Dropdowns extension and do a tutorial on how to do it with Plugins and AJAX at some point. It is more powerful, versatile, and loads faster.

Sign in to reply to this post

vernon webb

A thought

Sign in to reply to this post

Ray BorduinWebAssist

The easiest way to fix it is to update the existing code and make minimal changes.

Sign in to reply to this post

vernon webb

Agreeded

Sign in to reply to this post

Ray BorduinWebAssist

I've gone in and made the correction for you.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...