Post by karlpers » Fri Jul 24, 2015 8:39 am

Hi there,

This might be a strange question, however, Im trying to build a module. The module should have a image uploading feature, which is added and works just fine. I would though need to perform an onchange event when the input field is changed. For some reason, it dont work.

For example, I upload an image, this is what happens:
- The text files (normally hidden) is changed correctly
- The thumb is changed correctly

But, this doesnt fire off. If I manually change the input field it works as expected.

Code: Select all

<input type="text" name="input1[thumb_image]" value="<?php echo isset($section['thumb_image']) ? $section['thumb_image'] : ''; ?>" id="input-image1" onchange="$('#header').css('display', 'none');" />
Someone have seen this before, and got it working somehow?

Really thankful if you know any suggestions!

Active Member

Posts

Joined
Tue Jun 09, 2009 10:35 pm
Who is online

Users browsing this forum: No registered users and 7 guests