change

Flex Combobox preChange event

Hi, I have a project in which i need to pop up an alert to the user before a combobox value is changed. This feature is to allow the user to stay in current state if modifications were not saved. Meaning that the user will be able to cancel the change. I have sub classed ComboBox and tried to hook on ITEM_CLICK of ComboBox.dropdown but ...

execCommand: change fontsize problem in internet explorer

hi, this is preview of my code> sel_font = ...some number... Editor.execCommand("FontSize", false, sel_font); i want to change fontsize of selected text. in firefox is everything ok, but in internet explorer i can change fontsize only to some limited size, bigger numbers are not working. has explorer some restrictions to fontsize, wh...

How to upgrade a password storage scheme (change hashing-algorithm)

I've been asked to implement some changes/updates to an intranet-site; make it 'future proof' as they call it. We found that the passwords are hashed using the MD5 algorithm. (the system has been around since 2001 so it was adequate at time). We would now like to upgrade the hashing-algorithm to a stronger one (BCrypt-hash or SHA-256)...

Is there any table changes tracking tool for mysql which will log all changes into other table?

Hi, I am working on a Project management system on PHP (CodeIgniter framework), Mysql, AJAX, XAMPP, JQUERY. I need a customizable table changes tracking tool which will log all changes into another table in same database for mysql. Basically I need to have a table which will have log details of updates, inserts and deletes on a database...

Using JQuery, how do you detect if the value of a text input has changed while the field still has focus?

I noticed prior to posting this question that there have been similar questions posted on this topic before, however the user isn't interacting with the text field by using the keyboard in this instance, in such case binding the text field to the "Paste" action or any of the other nifty suggestions wouldn't work in my case. Our users ar...

JavaMail API, Gmail-Auth and setFrom

Hi all, for this app i'm following this example: http://pipoltek.blogspot.com/2008/02/sending-mail-using-gmail-smtp-server.html I can send emails, it looks good.....but i want to modify the sender email using this: MimeMessage msg = new MimeMessage(mailSession); msg.setFrom(new InternetAddress("[email protected]")); baba-jaga@gma...

Playing sounds with python and changing their tone during playback?

Is there a way to do this? Also, I need this to work with pygame, since I want audio in my game. I'm asking this because I didn't see any tone change function in pygame.. Anyone knows? Update: I need to do something like the noise of a car accelerating. I don't really know if it is timbre or tone. ...

jquery: grab the values from multiple select menus each time a new option is chosen

I'm building a live price quote form with jQuery, using a series of select menus. I've come up with the code below, which grabs the default values from each select menu and adds them together: $(document).ready(function(){ $('select > option:selected').each(function() { var value = $(this).attr('label'); total = parseFloat(total) ...

Grails how to change the current locale

Hi, How can I change the current locale ? I tried to put controller/action?lang=de but my locale is still en_US I tried to override the value using this piece of code: def key = "org.springframework.web.servlet.DispatcherServlet.LOCALE_RESOLVER" def localeResolver = request.getAttribute(key) localeResolver.setLocale(request, response...

How to change the look of a disabled JButton in java

I am making a game and when I disable a button with setEnabled(false); the buttons turn grey which clashes with the other colors in the game. Is their a way to change the color of the button when it is disabled? ...

jquery disable/enable submit button

i have this hmtl: <input type="text" name="textField" /> <input type="submit" value="send" /> how can i do something like this: -when the text field is empty the submit should be disabled(disabled="disabled") -when something is typed in the text field to remove the disabled attribute -if the text field becomes empty again(the text is...

JQuery change text to input

Hey guys, I have a table setup like below: <table> <tr> <td class="url"> <a href="http://www.domainname.com/page1.html" /> </td> </tr> <tr> <td class="url"> <a href="http://www.domainname.com/page2.html" /> </td> </tr> <tr> <td class="url"> <a href="http://www.domainname.com/page3.html...

Mysql create database with new database location

Few months ago I have asked a question regarding how to change database location at runtime - I didn't get any solution for this problem yet. I am needing to create more than 32,000 databases in MySQL. The default data location of MySQL data folder, after creating 32,000 database on that location, I want to change the data directory to ...

Typo 3 - Change website language in frontend?

Hello! Is it possible to change the website language in my frontend typo templates? I want to have a list or a dropdown of all website languages i have created in my typo backend. On click, I want to show my page in the chosen language. plz help me! ...

selecting textareas

Hi, I am trying to select specific element types in a row and change their attribute, specifically the id and name attributes. Using the following works fine for single line text input boxes: $('input:text', newRow).attr('id','os' + newRowNum ).attr('name','os' + newRowNum ); however, when I change the html to: <td><textarea name="o...

Recommendations on how to decouple services (RSS, REST API) from my UI (webforms) when they share a common model?

I have a web application that is arranged into data, business and UI projects. As the system evolves changes are deployed by building all three projects and deploying them in one package. This has worked well and has allowed the illusion of “three tiers” without tackling the communications, versioning issues of truly separate systems. ...

What IDE lets me view diffs as highlighting on my code?

EDIT: Primarily, talking about code written in C. Someone sends me a diff to review and I know I can take the "before" code, apply the diff (patch) to get proposed "after" code, and open both, pair of files by pair of files, in a difference viewer (e.g. WinMerge, Araxis Merge, etc.) to review the change. On the other hand, if I want to...

change color of UITextField in iPhone

hello, I have placed UITextField in UITableView and my TableViewCell color is Yellow , normally the background color of TextField in white i want to change the color of TextField to yellow or it should be transparent... i have used [ txtfld setBackgroundColor:[UIColor clearColor]]; but it's not working the textfield are appearing in ...

iphone sdk: Movie Player problem!

Hi guys What I'm trying to do is to play videos in MPMoviePlayerController. I hooked it with MPMoviePlayerContentPreloadDidFinishNotification to check if it succeeded or failed. Whenever I try to load broken urls it gives me an alert saying "the server is not correctly configured". Now I want to change this text to something else or h...

jquery - selecting a radio button crossfades div onclick

hi. I have search all over google for this and nothing. I am going off what i stared and found. I have multiply radio buttons that i need to change a corresponding DIV when checked. I need to have the value free so and onlclick command would be better. PS: if i can have it fxfade instead of slideup and down it would help too. buttons ...