change

jquery's weird behaviour.

Hi friends, I am using codeigniter framework and in view i am using jquery. Now, I have one select box which contains values from database. I tested the values of it using jquery change event and alert box. Its giving exact value in alert box on change, but when i am using post method or get or even $.ajax(), its not giving any output. ...

How to identify when select option was selected (not necessarily changed) ?

The following code displays the new selected value if it is different from the current value: HTML: <select> <option value='123'>123</option> <option value='456'>456</option> <option value='789'>789</option> </select> JS: $(function() { $('select').change(function() { alert($(this).val()); }); }); I would like to d...

Change color of navigation bar of the MPMediaPickerController, possible?

I have a MPMediaPickerController that lets the user pick his/her own songs in my app. Problem is my app has the "black" navigation bar throughout and the picker is the standard blue. Now I know it's not allowed/possible to subclass the picker but is there any other way to change the navigation bar to "black"? ...

how to go about user interface design changes

I've just discovered that a team I've been working with produces a Windows app that has what seems to me to be a strikingly bad close dialog, it reads: "Changes have been made that have not been saved to a file. Do you still want to exit the application?" The options are Yes/No and Yes is the default. Contrast this to the Microsoft Wor...

Change xcode's environmental path variable

I migrated from iphoneOS3.1.2.sdk to iphoneOS4.0.sdk and had to re-reference all frameworks. The old OpenAL reference is getting stuck in the build script as I see the new one but the old one is also there: Ld build/Debug-iphonesimulator/AweTrainGameEngine.app/AweTrainGameEngine normal i386 cd /Users/yuri/Desktop/AweTrainGameEngine ...

Oracle 10g - Determine the date a Trigger was last updated

Hi All, Is there a way you can determine the date when a trigger was updated? The reason why I ask is because a costumer complained about receiving some erros in our application, but when I went to look at the table, it had all triggers disabled. I appreciate any help anyone can provide me! ...

Python: Changing process name with setproctitle

Hi I have a python script which launches a number of C++ programs, each program is passed a command line parameter as shown below process_path "~/test/" process_name "test" num_process = 10 for p in range(1, num_processes, 1): subprocess.Popen([process_path + process_name, str(p)], shell = False) Is it possible to us setproctit...

(CVS) Detect when files associated with tag/label have changed

How can I detect when a developer updates files associated with a tag/label in CVS, then changes the tag to point to the new versions? The use case is developers surreptitiously making changes after the checked-in and tagged files have been peer-reviewed and approved, but before they have been built & deployed. I would like to avoid ge...

How can I dynamically update the selected option in a hidden select element based on a radio button state using jQuery?

I have n number of select elements in an html page that are used to allow the user to select categories. All of the selected values need to get posted to the server with name attr values of category[] (this a restriction of the CMS I'm using), but as there are in fact multiple groups of categories from which the user must choose one ea...

[ANDROID] Grid 3*3

Hey, i want to have a grid with 3 columns and 3 rows and an image button in each cell (center of cell) i tried with gridview but i can't fix the number of rows i tried with a tablelayout and 3 tablerows, but i can't change width/height at runtime any idea ? sry for english, i'm french ;) ...

How to change language of visual web developer 2010 express from german to english

Because all error messages are in german and google doesnt help me to find solutions for german error messages I want to change the language of visual web developer to english. This shouldnt be too hard, but I just cant find a way to configurate the language. Google didnt help me either. I would very much appreciate some help. ...

How can I change a site's default language after creation (sharepoint 2010)?

after creating a site you can go to: Site Actions / Site Settings / Site Administration / Language Settings and select some alternate language(s) if you've got some language pack(s) installed, but the default one is fix and you can't cange it anymore. Is there a way or some settings.file where you can change the default language? ...

CKFinder image upload name

Hello! Can I influence (change) the image that's uploaded name? Thank you. ...

How to change output filename if it originally is something else.

I have two files with different names. I have a for-loop to see if one file is there; if it is then it will change a file. My first thought was to make a list of all the files and what its counterpart is. That would not look nice and I can't cover all possibilities in the script. If this is the only way, how would I do it best? The scr...

how can i modified the default locale in android

hello everyone: by default,the android system's default location is US and language is en. but i want to set the default location to other country.so, the users will see their mother language when the first time start up android. i have tried to modify the code(/dalvik/libcore/luni/src/main/java/java/util/Locale.java),changed the local...

How can I make a program wait for a variable change in javascript?

I want to force a JavaScript program to wait in some particular points of its execution until a variable has changed. Is there a way to do it? I have already found an extension that is called "narrative JavaScript" that force the program to wait until an event to happen. Is there a way to create a new event, a "variable change event" for...

Jquery - Change the complete CSS (intern)

Hi, i try to change the complete CSS code (like a stylebrowser). First solution new_css = ' body {color:#00ff00; } #div { border: 1px solid red; }'; $("head > style:eq(1)").html(new_css); It works fine in the FF, Chrome & Safari ... but not in the the IE. My second solution var myStyle = document.styleSheets[1]; if( myStyle.cssRu...

Substitute output from variable to give another output.

I am trying to substitute output from variable to give another output. The variable i have problems with is the $apps. It gives me "syntax error: bad substitution". $appletDir is a directory with desktop shortcuts. The problem is that some shortcuts do not have the same name as the icon(png). So i need to substitute the program name wi...

Changing the starting view on an existing project Xcode

Hi! I have an old project in Xcode and I want to change the RootViewController files (.m, .h, .xib - a TableViewController) with a normal ViewController! Is it possible or I must restart a new project and import the old files? Thx a lot! ...

Jquery - changing img source from a list of links ?

Hi I have a list of links with an icon next to it - I'd like to be able to change the icon img source when the mouse is over a link (so that each link will change the icon to a different image) and I'd like to do it with jquery but I can't figure out what's the best way of doing it. Ideally I'd like to give the links a class so I can u...