I am having 3 text box in a mail compose page like this
I need to implement live search to get the email ids for these three text box .
script file content
var mail_string_for;
function for_ext(mail_string,val){
var f = document.getElementById('compose_mails');
var ds = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({
url: './index.php?m=webmail&a=get_email_list_for_webmail&p opup=1&remote_script=1&dialog=1&s_mail='+val
}),
reader: new Ext.data.JsonReader({ Download Aspose.TextBox.Web 2.2 Free Trial - Aspose.TextBox.Web is :: Sep 24, 2007 Aspose.textbox.web 2.2 free download. SEARCH:. HOME · CATEGORIES · NEW ADDITIONS / UPDATES DirectShow filter for live video mixing. http://www.download3000.com/download_27723.htmlHOME |
root: 'userdetails'
}, [
{name: 's_name', mapping: 's_name'},
{name: 's_mail', mapping: 's_mail'},
{name: 's_type', mapping: 's_type'}
])
});
var user_name = new Ext.form.ComboBox({
store: ds, set text box to minimum size « ACDSee Forums:: 6 posts - Last post: Dec 18, 2008is there an easy way to resize a text box to the minimum size needed to accomodate the text? Thanks JamesW, we live and learn. http://community.acdsee.com/forums/topic/set-text-box-to-minimum-sizeHOME |
displayField:'s_mail',
typeAhead: false,
loadingText: 'Searching...',
minChars: 2,
queryParam: 's_mail',
applyTo: mail_string,
hideTrigger : true,
onSelect: function(record){
previousContent=document.getElementById(mail_strin g).value;
document.getElementById(mail_string).value =previousContent+","+ record.data.s_mail; First Look: Windows Live Search Offers New Tools:: Some of the changes in Windows Live Search seem a little gimmicky, or click to the right of the default to see a 'Search within this site' text box. http://pcworld.about.com/news/Apr142006id125395.htmHOME | Getting Started with the Live Search API:: The Live Search Web Service enables you to create applications that return results from the In the Application Name text box on the Get an App ID page, http://www.viawindowslive.com/Articles/LiveSearch/GettingStartedwiththeLiveSearchAPI.aspxHOME |
}
});
// ds.load();
}
function email_list_combo(id){
mail_string_for=id;
value_text=document.getElementById(id).value;
for_ext(id,value_text);
}
I am getting the email ids, from the file get_email_list_for_webmail.
Need Help for this
1. When i clear the content of the "To" address, the focus of the control is lost.(it is redirecting to other page)
2.concat the values when more than one email id is selected.
3. When i type 2 characters , live search starts, the email id selected is not replaced the text which i typed.
eg : when i type xyz, it fetch the email list starts with xyz , when i select xzy@abc.com, now , the text box contains xyz,xyz@abc.com
4. I am not able to select or clear the already selected values easily
5. When i select one from live search results, more than one time the mail id is pasted in text box
Please help me
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market
|