Jump to content

RichardRotterdam

Members
  • Posts

    1,509
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    The Netherlands

RichardRotterdam's Achievements

Member

Member (2/5)

1

Reputation

  1. If a User is required to log in of some sort you could do a check on each page request which user is viewing what page(s). Can you elaborate on what it is that holds the Textarea/tinyMCE and what have you tried so far?
  2. Take a look at the functions setInterval() and setTimeout(). You could use one of those to do what you're describing. Along that you need to fetch each tr element which should be easy enough with jQuery
  3. When you do console.log(item) what's the output?
  4. This seems to indicate your using jquery is that true? $(the div).attr('width') And are you litterly using the div as selector or are you just using that as an example? Another question which puzzles me is why would you want to have a textarea that is larger over a div element? I have my doubts if that might be a good idea, can you perhaps elaborate why you would want this?
  5. Read up on this one it pretty much describes exactly what you need: Handling XML data
  6. why not use simpleXml? It's a lot easier looping through the elements you want that way
  7. Sound's more like an API of some sort. Doesn't have to be javascript specifically but it could be. An applet is something you do with Java btw and has nothing todo with javascript
  8. Related to the things going on yesterday did something go wrong with the DB? I notice a post missing. If it was just me breaking a rule sorry bout that.
  9. I'm not going to give you the code that does what you want. But I will give an attempt to explain how to do it. First you need to get the values from the input elements which would look something like this using jQuery. jQuery('input#your_id_attribute_here').val(); You can get more info from the manual here http://api.jquery.com/val/ As for making the post work check out: http://api.jquery.com/jQuery.post/
  10. Probably not what you want to hear but here goes. Your saying you're using main.php and admin.php? Where are those files? Are those in /public/main.php and /public/admin.php or in /app/controllers/main.php and /app/controller/index.php? Or maybe somewhere else. Also did you look into the manual under Routing? Also the manual descibes how to remove the index.php from the url http://codeigniter.com/user_guide/general/urls.html
  11. I did explain why that doesn't work in the first post and how to make that work. If you want the function to work that way you will need to a synchronous, rather than asynchronous call. But I can't show you how to do that because the function ajax.get isn't shown in your post. The thing that's unclear is why you want the value to be returned? What do you need to do with that data that's retrieved using an ajax call?
  12. Have you tried this? ajax.get('/assets/ajax/associates_search.php?info=' + info + '&sid=' + hex_md5(sess_id()) + '&list=' + with_u_list, function(resp) { console.log(resp); }
  13. You could do that. This is how it works the ajax request is done and starts waiting for a response. However the javascript is being run directly after the request and it's not waiting for the response to continue. You can either use a callback function to run within the ananymous function inside get() or you could do synchronous(by setting async:false) call which locks up the whole javascript execution untill you get a response. I'd go for the callback.
  14. There are 2 ways to approach that problem. 1. Use the iframe mode of your lightbox plugin which would make the content of the lightbox pretty much like it's own page. 2. use the non iframe mode of your lightbox plugin. Could you show some code it's not really clear what your trying to do on functional level which could help people here to send you in the right direction.
  15. Scripts scripts/jqFancyTransitions.1.8.min.js scripts/jquery.cycle.all.2.72.js Ok that makes it a little clearer. The above script names do not seem to be the jQuery library but plugins written to work with the jQuery library. So your problem is most likely has nothing todo with jQuery but with the plugins. Still it's unclear what the problem is with those scripts. Does IE9 give you any javascript errors?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.