15,694 Topics

Member Avatar for
Member Avatar for complete

How do I get search engine results programatically? Some search engines use AJAX to display content and so the URL does not change. This makes it difficult to get result content from a search engine programatically. Most search engines do not use AJAX. But two popular ones that I am …

Member Avatar for pritaeas
0
342
Member Avatar for tiekwebstar

i am facing another issue. i want to delete row via ajax and fadeout. i have write below code. this is successfully deleted the row but do not fadeout. var parent = $(this).parent().parent(); $.ajax({ type: "POST", url: "delete_order.php", data: "id="+id, success: function(){ row.find("td").fadeOut(1000, function(){ $(this).parent().remove();}); } }); return false;

Member Avatar for AleMonteiro
0
925
Member Avatar for rotten69

Hi there, am I doing something wrong with the if-statement? it either doesn't evaluate the conditions I've got in there or throw an error. $('button').click(function(){ var button = $($(this)).text(); console.log(button); // this logs the value of button as night or day depending on the button I click if(button == 'day'){ …

Member Avatar for AleMonteiro
0
329
Member Avatar for HunainHafeez

<asp:TemplateField HeaderText="Interview Date"> <EditItemTemplate> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <ajax:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBox1"/> </EditItemTemplate> </asp:TemplateField> this gives me an error, when i click on EDIT button in gridview, even ajaxtools are installed and work when i use them simply, Could not find any resources appropriate for the specified culture or the neutral …

Member Avatar for HunainHafeez
0
1K
Member Avatar for seanmc23

Hello, All ... I have an HTML file which contains pages of formated text, all within a <p> tag, which has an onclick call to a jscript function. This function gets mouse cursor position at the click event, then passes this position to elementFromPoint(pos.x,pos.y) to return my element object, which …

Member Avatar for Seyferx
1
2K
Member Avatar for techyworld

Hi i want to use regular expression to check if a string is in the format : 1+2 or +12 or 12+ or 1-2 or -12 or 12-. CAn someone help?

Member Avatar for pritaeas
0
392
Member Avatar for jelly46

I have a simple bit of code (contained in a CMS and cant be edited) that and needs to be read by Javascript in the header if it has been clicked. Here is the code: <div id="example" class="page-element-outer" style="text-align: left"><div class="page-element-inner" ><input type="image" name="Button1" id="Button" src="/getresource.axd?AssetID=16813" alt="Submit" style="text-align:left;" /></div></div> Can …

Member Avatar for JorgeM
0
84
Member Avatar for vizz

Following code shows images before uploading them. It works well in chrome but it is not worknig in IE 6+. Please help with cross browser working of code [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <link class="jsbin" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/base/jquery-ui.css" rel="stylesheet" …

Member Avatar for Abhishek12345
0
126
Member Avatar for Farhad.idrees

Hi.. i used Jquery in order to add date time picker calender in my site succesfully.. i just want to decrease size of calender because its showing big calender according to my form.. here is code and snapshop url http://tinypic.com/r/2ajzymx/6 <!--Calender Start--> <link rel="stylesheet" href="htp://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" /> t<script src="http://code.jquery.com/jquery-1.8.2.js"></script> <script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script> …

Member Avatar for code739
0
166
Member Avatar for jstfsklh211

to create a new comboBox when you post your form checkbox_name will contain the selected value $(document).ready(function() { var cb = "checkbox_name"; comboBox(document.getElementById(cb+"CB"), cb); var sel = myForm.elements[cb+"_hold"]; sel.length = 0; //add options sel.options[sel.options.length] = new Option("text", "value"); }); <div id="checkbox_name"></div>

0
367
Member Avatar for hwoarang69

so i have two files index.php and footer.php. and i want to add a jquery script to my index.php. so i did this and it works fine: index.php <html> <body> <script type = "text/javascript" src = "JQUERY/jquery.js"></script> <?php include("include/footer.php"); ?> footer.php <script type = "text/javascript" src = "JQUERY/jquery.js"></script> </body> </html> …

Member Avatar for jstfsklh211
0
160
Member Avatar for Violet_82

Hi there, I wonder if anybody can help me with this. I a a bit confused as to what $(this) and what e.target.nodeName represent in jquery. I had a look at this http://api.jquery.com/event.target/ but I am still not entirely sure, I hope somebody can clarify this. I run a little …

Member Avatar for Violet_82
0
800
Member Avatar for vipmo

Hi, I have this javascript error that I am unable to fix unterminated string constant. Here is what I am trying to do var test = '<p>rajnas asdjhsadnmdas dasjads jmsad dasndsaads bnas</p> <p>ahdndsa</p>'; document.getElementById('education').innerHTML = test; How to fix this error?

Member Avatar for Taywin
0
163
Member Avatar for green-script

hi (1) e.x: arr1 ["aa.wav","bb.flv","cc.mp3"]; arr2 ["http://www.page.com/q.html","http://www.afaq.com/vb/showthread.php?t=77","http://www.daniweb.com/web-development/javascript-dhtml-ajax"]; if x[i] == any element (arr2) >>> do <iframe......> how to check if x[i] matches any element in arr2 ? (2) what is the best way to learn "javascript, ajax, dhtml, jquery" in the net ? thanks

Member Avatar for Taywin
0
229
Member Avatar for Farhad.idrees

HI i have many fields in form....i want to check if anyfield is null so i want to do alert mesege also want to change the colour of text field....i have written a code but no error but not working anything...my code is for java scritpt function validateForm(Qform){ var i=0,Q= …

Member Avatar for Farhad.idrees
0
331
Member Avatar for tiekwebstar

I got a great response from this site. now my final thing is show gif loading image while getting data in Ajax.. my code is : function vote(id) { var result = new Array(); document.getElementById('sub-cat').innerHTML = ajax_image; result = $.ajax({ type: "POST", url: "ajax.php", data: "id="+id, async: false }).responseText.split("^"); document.getElementById('sub-cat').innerHTML …

Member Avatar for scrager
0
2K
Member Avatar for hwoarang69

html file <div id = "right_login"> <form id='login' action='login.php' method='POST' name=''> <h1>Log in to your account!</h1> <?php //print errors if(array_key_exists('log_error', $_SESSION) && !empty($_SESSION['log_error'])) { $log_error_r = $_SESSION['log_error']; echo "<span style='background-color:#D00000;'> $log_error_r <br/></span>"; unset($_SESSION['log_error']); } ?> <div> <label>Username:</label> <input type="text" name="username" id="login_username" class="login_field" value="" /> </div> <div> <label>Password</label> <input type="password" name="password" …

Member Avatar for scrager
0
105
Member Avatar for bhagirathitoxic

I have a servlet in java. My servlet URL is [Click Here](http://192.168.10.113:8080/collective-intellegence/UserClickPersonClassifier?userid=1&query=asp.net) This URL is giving json data. I am using a jquery ajax call to get the data. **MyCode** function SecondResultLink(link, userId, userInput) { try{ var urlSearch = "http://192.168.10.113:8080/collective-intellegence/UserClickLinkClassifier?userid=" + userId + "&query=" + userInput; $.ajax({ url: urlSearch, type: …

Member Avatar for bhagirathitoxic
0
194
Member Avatar for aslamdoctor

I am working on an ecommerce website for Glasses. Where I want to put a feature to try the glasses on your face or on some sample faces. The perfect example for this is one this site http://www.glasses2you.co.uk/prescription-glasses/gender/mens-glasses See the **Try in Mirror** option on this website. I can see …

Member Avatar for pritaeas
0
170
Member Avatar for vizz

Following code sets page(div's:- home,about,services etc ) height to 600px and when menus are clicked travels to perticular **div**. But it is not scrolling smoothly. It goes directly to that perticular **DIV**. I have used **animationTime = 900**, but it is not working. How to control scroll speed using **animationTime …

Member Avatar for vizz
0
185
Member Avatar for AleMonteiro

Hi everybody. I'm building an site that will load a bunch of overlays into Google Maps. The overlays are static and already in JSON format to be loaded with AJAX. This all works fine, ajax request, json parse, adding overlay. But the json files are quite big, the largest has …

Member Avatar for AleMonteiro
0
2K
Member Avatar for double_cola

Hey guys I have a page where a user can drag and drop ellements into divs 's and everything works great, but I need the div to only accept 1 element. Check it out [Click Here](http://www.cintascsr.com/test_site/report/) Right now you can drag both pdf docs into one "send to print" div. …

Member Avatar for AleMonteiro
0
323
Member Avatar for shahai.ali

hi i m very new to ajax and i want to have incomplete results like in the following image of google: ![upload1](/attachments/large/3/upload1.png "upload1") please help me for this purpose and for more experties in ajax

Member Avatar for JorgeM
0
201
Member Avatar for drumichael87

I am trying to include a datepicker from jQuery UI in my wordpress admin area (specifically in a custom meta box). I have it working, and it seems as though it is finding the stylesheet well enough, but it still looks a little 'off'. I know there must be something …

Member Avatar for dean8710
0
286
Member Avatar for hwoarang69

i have a menu here. if i hover over it a sub menu drop down. but the problem is that the drop down menu display behind the div id = inner tag. i want to display front. <div id = 'bottom_menu_wrapper'> <ul id='navbar'> <li><a href='#'>Apparel</a> <ul> <li><a href='#'>Female</a></li> <li><a href='#'>Male</a></li> …

Member Avatar for <M/>
0
80
Member Avatar for hwoarang69

so iam trying to add a image slider in to my site. website where iam downloading this slider is: http://www.agilecarousel.com/ slider that iam download is called "Flavor 1". <html> <head> <link rel='stylesheet' type='text/css' href='agile_carousel.css' /> </head> <div class='slideshow' id='flavor_1'></div> .... //at end of html file //jquery verson file <script type …

0
73
Member Avatar for phingko

Hi all, Can anyone please help me solving this code that i've been stuck for a while. I would like to logout from my shopping website then redirect the user to homepage after that. Right now, I managed to log them out but everytime they log out, it will bring …

Member Avatar for urtrivedi
0
272
Member Avatar for OsaMasw

Hello there , currently am working on download site that contain items , I need to place **download hits** for every file in site, I used the old way that open popup php page and increase the counter then store the result in database, its not cool to do this, …

Member Avatar for OsaMasw
0
234
Member Avatar for complete

How does Yandex do its trick? I want to programatically get the contents of a Yandex.com search result. The proglem is that a search page url does not change when you do a search on yandex.com and advance to see more pages. It must be done somehow by javascript. Any …

Member Avatar for lamiv007
0
133
Member Avatar for fion.mccormack

My wordpress site has a custom built plugin that enables people to compare SIM only deals. The problem is that, on the front end, the deals table takes about 60 seconds load in IE8. It is ten times faster in firefox (about 6 seconds). The guy that built the plugin …

Member Avatar for stbuchok
0
217

The End.