Hot Solutions

Tags:jquery mobile

I want to create a simple popup on my webapp using jquery mobile.
It needs to open some text within a <div> on the same page.

Any Pointers?

Tags:wordpress, upload, plugin, wp

Hi Experts!

I need some simple wordpress file upload code, something like regular file uploader in Wordpress, but I want to include it in my plugin.

Thanks.

When serializing checkboxes, serialize function creates :  Pl%5B%5D=AM

 

Now my problem is, I have a string with selected values from my checkbox list:
A, AM...Instead of serializing the checkbox  list (using e.g. serialize() from Jquery,...

Link to working test page. http://www.beaconhilldesign.co.nz/jquery/bg_colours-change/mistletoe-test.html
I have recently ran across a neat piece of code called jquery.bgpos.js which helps to animate background images.
The test page shows the...

My blog is http://melcarllivinginmexico.blogspot.mx

Lately when I go there, if I try to leave the page, I get a pop-up saying this:

The page at http://atat.ro says:

Make Money on Facebook!

Click the *stay on this page* button below...

Hi,

Is it possible to create a diagonal menu like the attached image using css/javascript?

Also, i would quite like the hover state to make each item fill up with black, a bit like this:
http://jsbin.com/ubaxi

Is it possible and how...

Tags:jstree, .net, treeview, ajax, vb, tree, jquery, javascript

I want to use JSTree to create an ajax-enabled treeview connected to my MSSQL database.

I've been searching for a good tutorial online, but haven't had any luck.  For full points, I would like:

A zipped visual studio 2008/2010 solution...

how to create UI Modal Dialog in Jquery

give me the link or Pseudo code to start my task

I need some help.  

Working in Domino Designer/Xpages.  I have added a javascript script library to my db,.   I have included it as a resource in my db.  

When ever I view source for my page.  I can see my resource loaded...

It is a javascript library from web. Not sure why it has such the wild format.
 

Tags:websphere java JSP

Hi All,

I am trying modify WebSphere Portal 6.0 Theme Default.jsp & head.jspf file to properly invoke a getMaxInactiveInterval() so that I could do setMaxInactiveInterval() afterwards.

Essentially What I am trying to achieve is.

1. Get...

Tags:google map, jquery.ui.map, jquery

I have a map (Google v3). I'm using jquery.ui.map. I need to hide/show markers by some attribute onclick.
1. Add multiple attributes or classes to json
2. Load all markers
2. Provide checkboxes or links that toggle on-off by attribute.

OR...

Hi,

Is there a way i can associate javascript key events (like keypress/keydown) to a Filter Input TextBox in RadGrid.??

I want to avoid Users from entering certain special chars using "keyboard or Copy paste " into the Filter input text...

Tags:JSON, Parse JSON, Foursquare

Hi,

I am trying to parse a JSON response from Foursquare API:.

The example is in this link:

https://developer.foursquare.com/docs/explore#req=venues/search?ll=40.7,-74&query=starbucks

It returns me the following:

{
meta: {
code:...

Tags:jquery, dialog refresh

Hi
i have  a jquery ui dialog that open with a table of data from the database.
i also have a link that open another UI dialog with a form to add an item.

right now, when i press the submit button of the form i refresh the whole page and ...

Tags:jquery codeigniter ajax

Hi Experts,

I want to create paging page with jQuery, CodeIgniter, and AJAX. The steps are simple as taking data from database, create paging with codeigniter and browse paging using AJAX to retrieve the next result.

A sample code is very...

Hi

I am trying to implement the jquery accordion control but I am getting the following error when testing in ie9. In opra I dont get the error message but accordion still does not work.

Object doesn't support property or method 'widget'
...

Hello experts

I have the following code:

 

When I confirm, i want to go to a specific page, e.g. home.php?page=home.

Can someone please help me? :)

Thanks in advance!

Tags:jquery, php, ajax

I have read a few articles, but I'm not sure how to do this...  I have a data table with "edit" buttons.  When a user clicks an edit button for a particular record, I want a dialog to pop up filled with the contents that are specific to that...

Tags:Coldfusion 8, Ajax, JQuery

I need help getting this code to work. I want to dynamically populate a the select options for the select list using Coldfusion 8 and JQuery to perform the Ajax call. Below is the code that I have written but it does not return the...

Tags:pdf, sql database, pdf to database, data to database, form

Hi. This is my situation.

I have 1000 customers. Each of them have their own customer ID. I want to send a pdf to everyone with 5 questions, and once they submit the form, ideally the data comes straight to my SQL database. I also want to...



Need help finding a way to submit an anchor LINK or FORM so my JavaScript message will display correctly and at the correct place without having to resort to using css absolute positioning.

 My test code needs to go inside a table which I...

Hi,

I have a simple .net webservice that has a hello world function that returns a string.

I am getting into phone gap and have developed an app for android.

However I want to add a call to my webservice.

Is there a small amount of...

Tags:javascript, jquery, html

I'm creating a page that loads the Google Product Category Taxonomy from this location: http://www.google.com/basepages/producttype/taxonomy.en-US.txt into a select box when a button is clicked.  I am using a jquery plugin to parse the...

Tags:JavaScript, JScript, HTML

I am new to web developing and JavaScripting. I am attempting to look at a JavaScript error that states "Uncaught ReferenceError: $ is not defined" and this error is occurring on line 455 of the source code of the page that I am viewing. From...

Tags:Jquery, Json, HTML

Hi ,

I have a date coming from the JSON object & when I am displaying this date it is showing as

/Date(1330727773533-0800)/

How can I convert this date to mm-dd-yyyy format using jquery.

Thanks for your help.


Thanks

StingRaY was able to help me get this together but now the client wants this (imageCube) to start on page load. What do I need to change to get this to work?



Any help is much appreciated.

Tags:jquery

Test page http://www.mistletoebay.co.nz/sandpit/test.php
My page was bug free until I added an accordion script that used var $j = jQuery.noConflict();
Since then I am receiving an Object expected error on line 34. The page still works fine...

Tags:facebook api, facebook sdk, javascript

For a wesbite I am building, I need to use Facebook JavaScript  SDK to allow a user to login in order to take part in a questionnaire. This all needs to be done client-side. The information gathered by the questionnaire will be passed to a...

Tags:JScript, JS, HTML, ASP .NET, CSS

I am new to web developing, and I was wondering how one would create a modal over an entire web page. The goal is to grey out the entire contents of the web page, coded in asp .net, and make a custom message box popup using JavaScript code. (I...

Tags:java script, Ext JS

The situation is that I have a form that pops up when I click on a row in a grid and I want to focus the cursor on the first input field in the form so the end user can start typing right away.  This code be the check box or the 'Requisition...

Tags:JQuery, HTML, Forms, Javascript

Hi Everyone,
This might have been asked before, but I can't find a good explanation anywhere.  Which technique would be better to use; attaching an event handler to an element of a html form, such as onBlur="Handler" with its own Javascript...

Tags:asp.net, c#, javascript

Hi,

I have gridview. i am displaying type and title in the Gridview on button click. When linkbutton expand click, it will display the details of the title which is 'text'.  How I can do that. I am posting the code. This code on clicking the...

Hi,

I am facing a problem with Colorbox in Firefox,

Scenario
I have a image on the main page, when the user clicks on the image it should open a terms & condition page(static jsp) in side the colorbox, and the  static jsp page has two...

Tags:make array, object key/value .ajax()

Hi,

I'm trying to pass in the data option for the jquery .ajax() like:
 

This page http://api.jquery.com/jQuery.ajax/ states 'data' should be:
Object must be Key/Value pairs. If value is an Array, jQuery serializes multiple values with...

Tags:jquery

Hi, i want to open a div as a popup window and i want that when i click the click, it should give an animate effect to open, like

it should start from middle and expand to its width, or a slidedown or slideup effect or flip effect.

how...

Tags:ajax jquery php mysql

I am a beginner to ajax and am trying to create a script to submit a canvas to a mysql db.

The image and text boxes are submitted and recorded to the db ok.

Then everytime the ajax ERROR function runs rather than the success.. I get the...

Tags:jquery toggle text

This script below works to toggle the div tag open and closed, but I want the text to also toggle and say "Show less" when it is clicked and show more when it is clicked again. When it is clicked once, the show less displays fine, but when it is...

Hi,

How can I have users make a page the start page within a website. For example, we have a several tabs (category A, category B, ...). One user wants their start page A the other B when they visit our website. I want to put a button or link...

I have an iFrame from which I launch a form in a new window. When this form submits, I want to refresh the opening iFrame's content.

I can successfully address the iFrame object from the form via window.opener, but can't seem to find a clean...

Tags:JQUERY, HTML, CSS, JAVASCRIPT

Hi All,

i am using the following jquery to find matching list items:

 


It searches each letter from all the displaying <li> tags and then displays the matches.

what i want it to do is make the list items hidden then only show the...

Tags:javascript, jquery, ajax

I am trying to add a simple form valadation to my jquery mobile webapp using the jQuery Validation Plugin.

The problem I have is the ajax runs straight away and doesnt wait for the validation.

I have included the html and js script below.
...

Tags:Android, Android Tablet, Android Phone, Kindle, Kindle Fire, Javascript

Using some code from this question I have set up some code to detect when an android device is rotated. It works great for the asus tablet (4.0.3) and two simulators (4.0.3 and 2.1), but for the kindle fire (2.3.4), and droidx (2.3.4) it switches...

Tags:dojo DataGrid

I'm new to Dojo and am hoping someone can point me to an example of a DataGrid that is programmatically embedded in a container widget. Based on some of the tutorials on the Dojo site, I've successfully created a BorderContainer with a left...

Tags:jquery enter keypress (keyup)

Hello, I have built a simple googlemap, but before i can make it live on client website i have a problem i am struggling to solve.

There is a geolocation aspect, user enters town name in a text box and hits go button, and Geolocn code gets...

Tags:php, codeigniter, javascript, MVC

I have a onclick event on a submit button in my CI app.  So when user clicks submit, it goes to my js function that disables the button, but it does not continue processing.  I used this “document.forms[“mainFrm”].submit();”, but because of the...

Tags:jQuery getJSON CFML CFC

I'm populating a select with JSON data called from a CFC.  I've simplified the CFC below, so everything can be clearly seen.

After populating the select options using jQuery, I want to set the selected option value to a specific default. ...

Tags:FullCalendar, JSON, MySQL, PHP, JQuery

Hello,

I'm setting up an app using FullCalendar (http://arshaw.com/fullcalendar/) that will allow the user to see client scheduling information as well as schedule clients through a management interface.

I want to use a MySQL database to...

Tags:jquery intersection filter

Hi,

Using jQuery I'm trying to filter a results set with several small groups of options (currently checkboxes), and have hit a wall. The intersection of checked box values among each group is the goal, not simply hiding/showing when a...

Tags:asp.net, c#

Hello experts,

I am trying to hightlight the menu item selected...
Any suggestion??


 <asp:Menu ID="NavigationMenu" OnMenuItemClick="NavigationMenu_MenuItemClick" runat="server">
 <items>
  <asp:MenuItem Text="menuItem1"...

Tags:jQuery

Experts,

I have found several sites that suggest you can have more than one document.ready function.

I need to load a table using Ajax when a particular page opens.  Here is the code:

---
$('#adm_output').ready(function()
{
...

Tags:javascript, escape, vb.net, registerclientscriptblock

 

The above function needs to be able to handle any message, regardless of what special characters might be in it.  I thought adding the escape() around the message, but it did not help.  It will not display this message (which I was expecting...

I am a newbie at writing any scripts and know just enough to get by. I wrote this code with help from a member here as well as Google and although it works I can guarantee that it is not done correctly. (I know myself) Could you please take a...

Tags:ASP.NET, C#, JavaScript, AJAX

I am able to dynamically write JavaScript routines in my ASP.NET/C# code behind page in order to open a new window. However, I notice that this is only done when there is a full page postback. When I try to perform the following code segments in...

Tags:jquery ajax php

Hi Experts,

How to delete table row using checkbox, jQuery, AJAX and PHP?

I want to delete some record in database, which is checked by user using jQuery fade-out, AJAX and PHP.

Sample code will be nice.

Thanks before.

Tags:JQuery

Dear Experts,

In the attached small code I am just trying the JQuery bases, could you please advise how a condition could be put to it?

I would like that the <h2> element would be toggled only, if its node value is "This is also a h2...

Tags:css, dreamweaver, slideshow

I'm trying to create a float:right div box which should overlay three DIVS on the page and always snug to the right side of the browser no matter what the screen size.  I've tried all kinds of variations of Z-INDEX and can not seem to get it to...

Tags:JQUERY, Javascript, html

Hi All,

I need some help changing a DIV absolute position to the center of the browser using JavaScript or JQUERY.

Any suggestions?

Whats wrong in my following syntax ?

string javascript = "<script type='text/jscript'> " +
"$(document).ready(function () { " +
"$('" + "#" + this.ClientID + "').datepicker('" +
"'{ showOn: '" + "button" +"',buttonImage: '"
+...

Hi

i have html like below. When the anchor tag is hovered i want to change the th background.
How can i target the th?

(There are several rows so i need to use $this rather than just using the id )

i tried $(this).prev("th") but no joy...

Tags:mvc3 asp.net

Hi,

I am using the following to post the form:

 @using (Ajax.BeginForm("SendMessage", "User", null,
                                    new AjaxOptions
                                    {
                                       ...

Tags:jquery ajax codeigniter

Hi Experts,

How to get result from AJAX call using jQuery? I'm using jQuery, AJAX, Codeigniter.

I managed to save data to database, but failed to show the contents inside jQuery-AJAX call.

Controller:
 

 

How to retrieve...

Our IE8 users are getting a HTTP 404 Not Found when going to some pages off our one of our sites. I am the net admin, and did not write the sites. Here is a link.

http://www.martindalefeed.com/MFM/swine/MFM/page102.html

Odd thing is the...

Hello Experts

I have a little Problem ...
I have to reload a PHP-Script per JQuery .load()
The PHP-Script includes a Button that triggers a JQuery .click() event.
The .click() Event reload the PHP-Script in a DIV ...
After reloading the...

Hello,

I am looking for a image slider that flows with the window size, I still want the main slider to be XXX pixels wide but I want it to show the next upcoming photos and if it is on the last photo to loop to the first photo.

I looked...

Hello, I want to add live stream on an asp.net page. How to do it?

Tags:jQuery removeClass Javascript

On this page:

http://www.stoneridgeretirement.com/v3/independent-living.asp

In the main navigation, the first button labeled Independent Living has a class of "bt" which is what swaps out the image for the mouseover effect. However, on that...

Tags:jquery

Hi all,

   I'm new to jquery.  I'm using a gooeymenu and qtips.  For some reason I can't have them both working.  Any idea?  I have a feeling because there are two functions referencing jquery(function($)) but how do I have multiple ones?  Do...

I have a jquery ui dialog that appears to client with Printer Friendly content.  The dialog box contains two buttons, 'Print' and 'Cancel'.  The Print button contains the standard javascript command to call the print dialog button.  This function...

Tags:Firefox, Chrome, Frame, OnResize, JavaScript, HTML

I am trying to capture when a frame is resized.  This works perfect in IE but not at all in Firefox or Chrome.  Everything I have read says it should work, so I must be doing something wrong.  Can anyone please help?

Code:

test.html
<html>...

Tags:JQuery

Use JQuery tabs, and store the selected tab to the cookie, but it returns error saying that "
 Object doesn't support property or method 'cookie'

Use the following js files

<script src="/javascripts/jquery-latest.pack.js"...

Tags:php, jquery, ajax, crud

Hi all,

I need a portablr PHP Grid Crud that I can use for a client.

Jquery EasyUI is really good but the licence txt is a bit confusing.

PHPGrid looks good but not sure how free it is.

I need something easy to integrate and free that...

Tags:ajax, persistent, live, flush

Hi all. I have a php script that takes ~30s to run. Right now a user who accesses that page just waits with a blank screen and then the output appears at the end when it finishes. That's not a huge problem, but I thought it would be nice to try...

Hi,

I have two input box one for an email address
and one for username

the username input box should be the same as the email address input box.

how can I make when the user type in an email address in the email address box to get ...

how do you align a div to be at top of page ?

Tags:jquery, progressive

I have a script which is very close to working, however I think I just need a bit of help from ee community to get it polished.

Currently I have a form that submits via ajaxform.
There is a lot of data to load each time, so i have split it up...

Tags:php javascript jquery

I have a page called mypage.php
Mypage.php has a php variable $myvar=200;
Mypage.php has html input of a textbox with id="txtPerc" in which user enters a percentage.

What i want to do is:
I need to compute how-many-percent of $200 and...

Does jqGrid support frozen column headers and row headers? I have a grid with hundreds of rows and want the user to always see the columns name no matter what row they are on.

I'd like the same for row headers, since it will also be a wide...

I'm using a HTML form and PHP move_uploaded_file to upload files to my server.

My hosting company limits 5MB on uploads prior to timeout, so want to do a file size check prior to upload.

How can this be done in either JavaScript or PHP?
...

Tags:coldfusion, cftextarea

i have successfully implemented the code for showing a progress bar to the textarea while typing, but it has one issue,

currently it works as whenever it reaches the end of the contents, it changes its color of progress bar...

currently...

Tags:JavaScript

Hi Experts!

I am using jQuery to get as an array the tr id's for a given filter

 
After executing this code I get in the console the actual <tr> element array like this
 

How one can get the tr id from this?  In jQuery one uses   in...

Tags:accroforms, acrobat, adobe, adbc, javascript

Greetings,  I have a project using some javascript to attach an accroform (not livecycle form) to a database to pull some options.  

I just installed Acrobat X pro (v 10) and found out that ADBC does not work in version 10.  I have a problem...

The following canvas script works in Firefox and IE but not Chrome. In Chrome, no lines are drawn.  Any ideas why it doesn't work in Chrome?  

Tags:php, session, iUI, javascript

Short form: what might lead $_SESSION content to change between several PHP pages?

Background:
1 - In a php page, I add values to $_SESSION, then session_write_close() [note: values were successfully written in $_SESSION in a previous PHP...

Tags:ie, ie8, ie 8, Internet Explorer, javascript, js, web

I am trying to figure out what is breaking this client's site under Internet Explorer 8.
The home page uses Scriptaculous+Prototype & jQuery + cycle plugin.

http://test.webweb.ca/ie8/

Any ideas?

Tags:php

I'm using the following code to scrape for the # of likes on a page.

 

It's returning the following:
 

I need to now modify my code to dump all the other garbage and just pull back 11,822

How can I do this?

Tags:JQuery, ASP.Net

Hello,

I am trying to do a simple rip of  Windows 8 metro style from a web page i am working with, I am very new to asp.net and only started using jquery today.

What happens is when i click the right button, all my divs animate happily to...

Tags:jQuery, plugin, javascript

Greetings,

Consider the following instructions:

No other external JS libraries may be used besides the jQuery core.

Would any one interpret that to mean that jQuery plugins cannot be used?  My thought was since a plugin is not a JS...

I have a site I am hosting for a friend. They have been getting warning of malware on they site. I used http://sitecheck.sucuri.net to scan and they confirm malware. I am not sure where the malware is coming from and how to fix it. Can someone...

Tags:coldfusion, cftree, hierarchical query, oracle

I'm struggling to expose a hierarchical query as a tree view in ColdFusion.  I just can't figure out the mechanics.  
Initially I want to expose it without a bind to a cfc.  Then I want to expose it with a bind to a cfc so I can take advantage...

Hi,

I need help on how to pass a value from a popup window to the main page.

something wrong in my code.


 

Tags:javascript, getelementbyid, getelementsbytagname

I am attempting to populate a table with randomly generate numbers in each table data cell. Here is my JS code:

 

When I look at this code in Firebug, it's giving me the error:

"tableRows.getElementsByTagName("td")[j] is undefined"

I...

How can I remove HTML comments from a string using JavaScript / jQuery?

In the example below, the alert should be: "Hello World" without the HTML comments.

 

Tags:jquery, javascript

Hello experts,

I want to reverse a sort order in a list menu from a simple link.
So let's say i have this list/menu ordered from A to E.
<select name="select">
<option value="A" selected>A
<option value="B">B
<option value="C">C
<option...

Tags:delphi javascript

Hi Experts,

How to convert this function "Math.random()" (javascript) to delphi ?

Thanks for some help

Tags:javascript

Now i have a link and i have a call to a custom function

like

<a href="delete" onclick="Call(#id#);">Delete</a>

now i have the ajax call and i want to call that ajax call from this function as:

function call(id) {
ajax call and...

Tags:jquery java .slideToggle

I have the following jquery in my head section which is working fine in that it CLOSES the div image when the page loads. I want it to cause the div image to OPEN slowly - ie the reverse. Can anyone help please ?
------------------------------...

Tags:jquery, ajax, php, html5, mysql

I want to create an auto-scrolling scoreboard where new scores gets added to the board when they come in.

- Ideally I would list all the entries from the mysql db.
- If they don't all fit on the page then the browser would scroll down slowly....

Tags:ajax checkbox

Hi Experts,

How to assign response from AJAX's call to appropriate checkbox?

 

For example how to update checkbox with id: productid2?

Thanks before.

Hi,

I have a password textbox that I have to validate.

the user should enter at least one special character in the password field.

I am not sure why my syntax is wrong.

if I enter this "?" as special character it will prompt me the...

Loading Advertisement...

Top JavaScript Experts

  1. leakim971

    511,289

    Sage

    2,168 points yesterday

    Profile
    Rank: Genius
  2. mplungjan

    291,279

    Guru

    2,800 points yesterday

    Profile
    Rank: Savant
  3. nap0leon

    195,491

    Guru

    0 points yesterday

    Profile
    Rank: Sage
  4. Proculopsis

    182,948

    Guru

    0 points yesterday

    Profile
    Rank: Sage
  5. COBOLdinosaur

    157,309

    Guru

    0 points yesterday

    Profile
    Rank: Genius
  6. chaituu

    130,684

    Master

    0 points yesterday

    Profile
    Rank: Sage
  7. Ray_Paseur

    130,217

    Master

    330 points yesterday

    Profile
    Rank: Savant
  8. tommyBoy

    125,345

    Master

    0 points yesterday

    Profile
    Rank: Genius
  9. StingRaY

    114,318

    Master

    0 points yesterday

    Profile
    Rank: Wizard
  10. DaveBaldwin

    80,081

    Master

    336 points yesterday

    Profile
    Rank: Genius
  11. ansudhindra

    79,054

    Master

    2,000 points yesterday

    Profile
    Rank: Wizard
  12. ChrisStanyon

    62,768

    Master

    800 points yesterday

    Profile
    Rank: Sage
  13. hielo

    61,266

    Master

    0 points yesterday

    Profile
    Rank: Savant
  14. HainKurt

    59,030

    Master

    0 points yesterday

    Profile
    Rank: Genius
  15. BuggyCoder

    54,739

    Master

    0 points yesterday

    Profile
    Rank: Sage
  16. mroonal

    54,339

    Master

    10 points yesterday

    Profile
    Rank: Sage
  17. tagit

    54,093

    Master

    1,600 points yesterday

    Profile
    Rank: Genius
  18. gurvinder372

    52,824

    Master

    10 points yesterday

    Profile
    Rank: Genius
  19. basicinstinct

    52,586

    Master

    0 points yesterday

    Profile
    Rank: Genius
  20. JonNorman

    45,158

    2,200 points yesterday

    Profile
    Rank: Master
  21. Lalit-Chandra

    44,420

    0 points yesterday

    Profile
    Rank: Master
  22. xmediaman

    36,450

    3,800 points yesterday

    Profile
    Rank: Guru
  23. kozaiwaniec

    33,100

    0 points yesterday

    Profile
    Rank: Guru
  24. Kravimir

    32,700

    0 points yesterday

    Profile
    Rank: Genius
  25. designatedinitializer

    32,300

    0 points yesterday

    Profile
    Rank: Master

Hall Of Fame