» Home » Grabing » Page 1
grabing data from url
by fayoh in Programming Languages

i have a task - i must grab some data from the URL. the link is http://cba.am.
the data, i want to take, are in the some table, and i have the only one identifier, to reach my wanted data, it's the word "usd", which writes in that table(html)!
i've written the following script, and it works! but i never heard how more experienced programers do such things, so i want to hear your comme

TAGS : grabing data from

Grabing value with preg_match
by her209 in Programming Languages

How would I go about trying to grab the $_REQUEST KEY based on a preg_match.
The $_REQUEST value will hold a value of 15h56


To grab the $_REQUESTS I'm currently using


foreach ($_REQUEST as $k => $v) {
$a[] = "$k=$v";
}
$ref_val = implode("&", $a);

So basically I'm


Grabing the anchor from the LI whose ID is same as the cell's ID
by Omer72 in Programming Languages

I have below is the html code for TD which gets appended after matching the IDs from below LI HTML code


<td style="border-top-style: solid; border-right-style: solid; border-left-style: solid;
border-bottom-style: solid" id="Communication">
Communication Science Course
</td>
<li id="CommunicationTooltip"><a href="#" target="_blank"

Grabing text from non java application
by Ka0t1x in Java

Is it possible to grab textarea using java from another non-java application?


Known way is OCR with java.awt.Robot in my opinion is too complex and non effective if grabbed area is in the minimized window.


P.S. Linux environment is preferred but not mandatory for solution.


grabing a number six lines below a pattern
by xguru in Web Design

I have these lines repeating


FINAL RESULTS
NSTEP ENERGY RMS GMAX NAME NUMBER
1000 -4.7910E+01 2.1328E-01 9.4193E-01 C 62

The FINAL RESULTS indicate a average of those values for a set. The output file combines all 1000 sets. I need to grab the numbe


grabing data from ajax request, is it possible?
by Skipholiday in Programming Languages

When i need to get a content from a site, i use file_get_content() function, but now i need to grab a data, which loads after ajax request. so i can't mention the exactly url address.
are there any algoritms to do such things?


Thanks.


Grabing hashtagged word from a string using regex
by drudge in Programming Languages

Well, as the title says... I want to grab a certain word that is hashtagged in a string.


Example:
This is a string that #contains a hashtag!


I want to pick out the word contains from the string as a new string.


I can imagine that this is a very simple problem, but I really can't get it to work.


Grabing a data attribute of a clicked element?
by Venezuela in Programming Languages

I have a link that opens a modal when clicked, however that element also has a data-id="#id here" attribute that I need to grab so I can pass it to my php script for processing. How can I accomplish this?


My JS code:


$(document).ready(function() {
$('#edit_general').click(editModal);
});
function editModal(event)
{
var modal = $('#editModal');

jQuery grabing the color of an element PRE :hover
by ponchopilate in Programming Languages

I'm trying to create a generic 'flash of color confirmation' function where it'll flash the background of an object to green and then fade out to whatever it's existing color was.


So I may have two elements that I call this on click():


li background-color: red
li background-color: black

If I click the first one, it'd fade from green to red.


blank page while grabing xml data using php and printing it to div
by deshao in PHP

I tried this for pulling out the data from xml to php in session and printing in div but it shows blank page.. I tried it different ways.. below is another way of printing but still same result..


<?php
session_start();
$yql_base_url = "http://query.yahooapis.com/v1/public/yql";
$yql_query = "select * from yahoo.finance.quotes where symbol in ('XAUUSD=X','XAGUS

Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .