Debbie Posted August 27, 2009 Share Posted August 27, 2009 Hi I have some trouble setting a value to a Firefox input field when the input contains some special caracters. As an example : _FFSetValueByName("name_2", "aaa'bbb") Nothing appears in "name_2" field, but it works without quote (_FFSetValueByName("name_2", "aaabbb")) The same problem appears with others caracters (euro symbol...) I tried "aaa\'bbb" and "aaa"e;bbb" without success. Any clue ? Thanks Debbie Link to comment Share on other sites More sharing options...
Stilgar Posted August 27, 2009 Share Posted August 27, 2009 (edited) Hi I have some trouble setting a value to a Firefox input field when the input contains some special caracters. As an example : _FFSetValueByName("name_2", "aaa'bbb") Nothing appears in "name_2" field, but it works without quote (_FFSetValueByName("name_2", "aaabbb")) The same problem appears with others caracters (euro symbol...) I tried "aaa\'bbb" and "aaa"e;bbb" without success. Any clue ? Thanks Debbie The first error was a bug. I forget to escape the ' for Javascript. For the other chars: If you have saved your script in UTF-8 it should work. [EDT] Fixed version (' problem): http://thorsten-willert.de/Themen/FFau3/Testversion/FF.au3 Edited August 27, 2009 by Stilgar jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
Debbie Posted August 27, 2009 Author Share Posted August 27, 2009 The first error was a bug. I forget to escape the ' for Javascript. For the other chars: If you have saved your script in UTF-8 it should work. [EDT] Fixed version (' problem): http://thorsten-willert.de/Themen/FFau3/Testversion/FF.au3 It works well. Thanks. >_<:-))))))))))))) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now