[jQuery] Help me with autocomplete
Hi all, I don´t retrive the response of search, what did I do wrong? the code. ACTION public class UserAction extends ActionSupport implements ModelDriven{ private static final long serialVersionUID = 1L; private User user = new User(); private UserDAO dao = new UserDAO(); private String names = ""; @Override public User getModel() { return user; } public User getUser() { return user; } public void setUser(User user) { this.user = user; } public String execute(){ if (dao.saveOrUpdate(user)){ return SUCCESS; } return ERROR; } public String usersByName(){ HttpServletRequest request = ServletActionContext.getRequest(); List names = dao.getUserNames(request.getParameter("q")); for (String name : names) { this.names += name + "\n"; } return SUCCESS; } public String getNames() { return names; } public void setNames(String names) { this.names = names; } } struts.xml . . . /JSP/infoUsers.jsp . . . infoUsers.jsp . . . $(document).ready(function(){ $("#consultName").autocomplete("consultUserAction.action"); }); . . Consulta . . . thanks
[jQuery] Help me with autocomplete
Hi all, I don´t retrive the response of search, what did I do wrong? the code. ACTION public class UserAction extends ActionSupport implements ModelDriven{ private static final long serialVersionUID = 1L; private User user = new User(); private UserDAO dao = new UserDAO(); private String names = ""; @Override public User getModel() { return user; } public User getUser() { return user; } public void setUser(User user) { this.user = user; } public String execute(){ if (dao.saveOrUpdate(user)){ return SUCCESS; } return ERROR; } public String usersByName(){ HttpServletRequest request = ServletActionContext.getRequest(); List names = dao.getUserNames(request.getParameter("q")); for (String name : names) { this.names += name + "\n"; } return SUCCESS; } public String getNames() { return names; } public void setNames(String names) { this.names = names; } } struts.xml . . . /JSP/infoUsers.jsp . . . infoUsers.jsp . . . $(document).ready(function(){ $("#consultName").autocomplete("consultUserAction.action"); }); . . Consulta
[jQuery] Re: RSS Manager - Dynamic variables
nobody? On 14 jun, 13:52, Felipe wrote: > Hey guys. > > I'm building up a RSS reader. > > In this app, the user will have the option to add and remove urls in a > list. > > What I need is to create a new variable, everytime the user submit the > form with the url. > > The varible must contain the url. > > Can anybody help me? > > Thanks for your time.
[jQuery] RSS Manager - Dynamic variables
Hey guys. I'm building up a RSS reader. In this app, the user will have the option to add and remove urls in a list. What I need is to create a new variable, everytime the user submit the form with the url. The varible must contain the url. Can anybody help me? Thanks for your time.
[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)
A really nice plugin! The only thing missing in my view is a small bread cump as in the mac! ;) On Fri, Jan 16, 2009 at 5:20 AM, Nicolas R wrote: > > @ Adam, > Unfortunately no, I haven't done any testing on IE => no fixing. I > imagine that it's not a lot of work to be done, mostly setting height: > 1% to most of the elements and perhaps adding some width properties. > I'm on a mac so testing on IE is not easy for me. > > Nicolas > > On Jan 16, 3:18 am, gobagoo wrote: > > Great plugin. Have you made any progress on getting IE working. I > > would be happy to help as this is a feature that I would love to get > > working on my site. > > > > Thanks, > > Adam > > > > On Dec 8 2008, 6:25 am, Nicolas R wrote: > > > > > Greetings! > > > > > I've put together a plugin that creates a mac-style finder out of a > > > list. The plugin is still in development (ALPHA) and it needs some > > > testing, especially on IE. > > > > > The purpose of this plugin is to provide an alternative to treeview > > > navigation. Making it look just like the Finder on a Mac is not my > > > goal, I am after its core functionality. Having said this, I think > > > that implementing useful features that exist on Mac's Finder (search, > > > toolback w/ options, etc) is time well spent. > > > > > You can find the plugin (& demo) here: > http://www.nicolas.rudas.info/jQuery/Finder/ > > > > > I'm posting this here as I'm after feedback, contributions > > > (especially), and testers, so if anyone's interested please post here. > > > I hope the source code is readable and self-explanatory, I did comment > > > a lot on some things so it should make some sense. As this is an alpha > > > release, I've just included a link to the script in the demo page, and > > > a link to a zip file that contains the demo page along with css & > > > images used. The zip file is what you are probably after, as the css > > > file is essential. > > > > > Cheers > -- Atenciosamente, Felipe Paiva Mobile: +55 81 9692-2631 Home: +55 81 3432-4109 Work:+55 81 3224-3010 R:28 Msn / Google Talk / Skype felipe.pa...@gmail.com
[jQuery] Re: How to insert google adsense with after()
hi, did you find how to do it? thank you On 30 dez 2007, 20:10, Jirka <[EMAIL PROTECTED]> wrote: > I try to add googleadsenseafter first paragraph of an article. Here > is my code: > > $('.article p:eq(0)').after(' > ...GOGLEADSENSECODE... '); > > But it looks that tag script shouldnt be add into the DOM like this. > > Can anybody show me the right way?
[jQuery] inserting adsense
Hello, I am trying to insert adsense code as follows: var ads = $(this).text(); /// the adsense code goes here $(tr).append( '' + ads + '' ) ; $(tr).addClass('ads'); $('table#' + tablename + ' tr.header').after(tr); Nothing happens. If I put some other html code into scalar ads, it works. Any idea? Thank you, Felipe