diff --git a/sites/all/modules/l10n/l10n_client/l10n_client.js b/sites/all/modules/l10n/l10n_client/l10n_client.js
index 80ce219..c24154f 100644
--- a/sites/all/modules/l10n/l10n_client/l10n_client.js
+++ b/sites/all/modules/l10n/l10n_client/l10n_client.js
@@ -103,7 +103,7 @@ Drupal.behaviors.l10nClient = function (context) {
     var index = $('#l10n-client-string-select li').index(this);
 
     $('#l10n-client-string-editor .source-text').text(Drupal.l10nClient.getString(index, 'source'));
-    $('#l10n-client-form #edit-target').val(Drupal.l10nClient.getString(index, 'target'));
+    $('#l10n-client-form .translation-target').val(Drupal.l10nClient.getString(index, 'target'));
 
     Drupal.l10nClient.selected = index;
   });
@@ -119,12 +119,12 @@ Drupal.behaviors.l10nClient = function (context) {
 
   // Copy source text to translation field on button click.
   $('#l10n-client-form #edit-copy').click(function() {
-    $('#l10n-client-form #edit-target').val($('#l10n-client-string-editor .source-text').text());
+    $('#l10n-client-form .translation-target').val($('#l10n-client-string-editor .source-text').text());
   });
 
   // Clear translation field on button click.
   $('#l10n-client-form #edit-clear').click(function() {
-    $('#l10n-client-form #edit-target').val('');
+    $('#l10n-client-form .translation-target').val('');
   });
 
   // Register keybindings using jQuery hotkeys
@@ -150,15 +150,15 @@ Drupal.behaviors.l10nClient = function (context) {
       url: $('#l10n-client-form').attr('action'),
       // Send source and target strings.
       data: 'source=' + Drupal.encodeURIComponent($('#l10n-client-string-editor .source-text').text()) +
-            '&target=' + Drupal.encodeURIComponent($('#l10n-client-form #edit-target').val()) +
+            '&target=' + Drupal.encodeURIComponent($('#l10n-client-form .translation-target').val()) +
             '&form_token=' + Drupal.encodeURIComponent($('#l10n-client-form #edit-l10n-client-form-form-token').val()),
       success: function (data) {
         // Store string in local js
-        Drupal.l10nClient.setString(Drupal.l10nClient.selected, $('#l10n-client-form #edit-target').val());
+        Drupal.l10nClient.setString(Drupal.l10nClient.selected, $('#l10n-client-form .translation-target').val());
 
         // Figure out the display of the new translation in the selection list.
         var newTranslationDisplay = '';
-        var newTranslation = $('#l10n-client-form #edit-target').val();
+        var newTranslation = $('#l10n-client-form .translation-target').val();
         var newTranslationStripped = newTranslation.replace(/<\/?[^<>]+>/gi, '')
                                                    .replace(/&quot;/g, '"')
                                                    .replace(/&lt;/g, "<")
@@ -181,7 +181,7 @@ Drupal.behaviors.l10nClient = function (context) {
 
         // Empty input fields.
         $('#l10n-client-string-editor .source-text').html('');
-        $('#l10n-client-form #edit-target').val('');
+        $('#l10n-client-form .translation-target').val('');
 
       },
       error: function (xmlhttp) {
diff --git a/sites/all/modules/l10n/l10n_client/l10n_client.module b/sites/all/modules/l10n/l10n_client/l10n_client.module
index ecacd9b..bfd7392 100644
--- a/sites/all/modules/l10n/l10n_client/l10n_client.module
+++ b/sites/all/modules/l10n/l10n_client/l10n_client.module
@@ -368,6 +368,7 @@ function l10n_client_form($form_id, $strings) {
     '#type' => 'textarea',
     '#resizable' => false,
     '#rows' => 6,
+    '#attributes' => array('class' => 'translation-target'),
   );
   $form['save'] = array(
     '#value' => t('Save translation'),
